How to call an entire Simulink Model from Stateflow?

5 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Swarooph
Swarooph il 10 Ago 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.

Categorie

Scopri di più su Stateflow in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by