How to call an entire Simulink Model from Stateflow?

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.

Antworten (1)

Swarooph
Swarooph am 10 Aug. 2016

0 Stimmen

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.

Kategorien

Mehr zu Decision Logic finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 10 Aug. 2016

Beantwortet:

am 10 Aug. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by