Simulation Stepping Options
Simulation Stepping Options Overview
Use the Simulation Stepping Options dialog box to manually step through a simulation.
This pane appears when you select Step Back > Configure Simulation Stepping in the Simulation tab.
To step backwards through a simulation, select Enable stepping back and specify the total number and frequency of snapshots.
Specify the increment of steps by which the simulation steps either forward or backwards.
To start the Simulation Stepping Options dialog box from the Simulink® toolstrip, click .
To pause simulation at a particular time, select Pause simulation when time reaches check box and enter the pause time.
You can change the value while the simulation is running or paused.
Enable stepping back
Enable stepping back.
Enable stepping back.
Disable stepping back.
Simulation stepping (forward and back) is available only for Normal and Accelerator modes.
This parameter enables the Maximum number of saved back steps and Interval between stored back steps parameters.
Maximum number of saved back steps
Enter the maximum number of snapshots that the software can capture. A snapshot at a particular simulation time captures all the information required to continue a simulation from that point.
Enable stepping back enables this parameter and the Interval between stored back steps parameter.
Interval between stored back steps
Enter the number of major time steps to take between capturing simulation snapshots.
The number of steps to skip between snapshots. This parameter enables you to save snapshots of simulation state for stepping backward at periodic intervals, such as every three steps forward. This interval is independent of the number of steps taken in either the forward or backward direction. Because taking simulation snapshots affects simulation speed, saving snapshots less often can improve simulation speed.
Enable stepping back enables this parameter and the Maximum number of saved back steps parameter.
Move back/forward by
Enter the number of major time steps for a single call to step forward or back.
The maximum number of steps, or snapshots, to capture while simulating forward. The greater the number, the more memory the simulation occupies and the longer the simulation takes to run.