Stop a Simulation in Steady State using STOP block

version (8.76 KB) by Simulink Dude
Use STOP block to stop a simulation in steady state condition


Updated 1 Sep 2016

View License

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 (2022). Stop a Simulation in Steady State using STOP block (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!