How can i define a simulink function that uses a stateflow chart as input? Let's say i've modeled a stateflow chart and i want to use it in a simulink function, so that my function take as argument the created statechart and it looks like:
my_simulink_function( StateflowChart b){ //do something on b }