Stop a Simulation in Steady State using STOP block

Use STOP block to stop a simulation in steady state condition

You are now following this Submission

Using the STOP block and a delay block, you can compute the error difference between successive values of a variable of interest. When the error in nth decimal place falls below the threshold, you can use the Compare to Constant block to activate the STOP block.

The STOP block can be used in a powerful manner: For example, by setting the time of simulation to infinite, you can control how long the simulation runs depending on dynamics of the computation within the model.

Cite As

Simulink Dude (2026). Stop a Simulation in Steady State using STOP block (https://au.mathworks.com/matlabcentral/fileexchange/26585-stop-a-simulation-in-steady-state-using-stop-block), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Simulation in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.1

Updated license

1.0.0.0