Stateflow making simulation slow

9 views (last 30 days)
Adi
Adi on 12 Nov 2015
Answered: Sebastian Castro on 12 Nov 2015
Hi, I am running simulink model for running a Simulation with another software(SIL). When simulation is running if I open the Stateflow chart the simulation slows down drastically and as soon I close the stateflow chart it speeds up again. Is there a reason why does this happen and how can we fix it?

Answers (1)

Sebastian Castro
Sebastian Castro on 12 Nov 2015
When a Stateflow chart is open it will animate with some delay. In the latest versions, you can select "Simulation > Stateflow animation" and change it to "none". Then, having the chart open won't have any effect.
- Sebastian

Categories

Find more on Complex Logic in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!