Skip to Main Content Skip to Search
Product Documentation

Benefits of Using a Snapshot of the Simulation State

Division of a Long Simulation into Segments

You can save the complete simulation state of a model at any time during a long simulation. Then you can load that simulation state and run specific segments of that simulation without starting from time t = 0, which saves time.

For directions, see Dividing a Long Simulation into Segments.

Test of a Chart Response to Different Settings

You can load and modify the simulation state of a chart to test the response to different settings. You can change the value of chart local or output data midway through a simulation or change state activity and then test how a chart responds.

Loading and modifying the simulation state provides these benefits:

For directions, see:

  


Free Stateflow Interactive Kit

Learn how engineers use Stateflow to model state machines in their Simulink models.


Get free kit

Trials Available

Try the latest version of Stateflow.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS