How to call an entire Simulink Model from Stateflow?

1 view (last 30 days)
I am trying in vain to call my Simulink model (containing some model references) form Stateflow and get back its outputs (or some of these). Or inline it in a Matlab Function Block and get its outputs. My aim is to call -- an instance of -- my model multiple times independently to its simulated instance in order to do some batch tests. I really need some help!
Thank you in advance.

Answers (1)

Swarooph
Swarooph on 10 Aug 2016
Take a look at the documentation here to see how to access Simulink Algorithms inside Stateflow. This example may be a good place to start.

Categories

Find more on Complex Logic in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!