How to call an entire Simulink Model from Stateflow?

1 次查看(过去 30 天)
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.

回答(1 个)

Swarooph
Swarooph 2016-8-10
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.

类别

Help CenterFile Exchange 中查找有关 Complex Logic 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by