How can i call a Simulink function in a stateflow?

I have a Simulink file with one inport one outport, a Lookup Table block and a function-call Trigger port. I want to execute this file in a stateflow as a function, but i dont know how to call it. What i tried is something like this:
[output of the simulink file]=Name_simulink_file(input to the simulink file)

More Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!