You can simulate a model at any time by clicking the Run button on the Simulink Editor.
The simulation runs from the start time to the stop time specified in the model configuration. While the simulation is running, you can interact with the simulation, tune parameters, stop or pause the simulation, and launch simulations of other models.
If an error occurs during simulation, simulation stops, and the Diagnostic Viewer opens to help you determine the cause of the error.
For more information on starting and stopping simulations, see Simulate a Model Interactively.
How to start, suspend, and stop a simulation interactively.
Step forward and backward through a simulation.
How to pause simulation using conditional breakpoints.
How the Simulink software simulates a dynamic system.
How to select the optimal solver for simulating a model.
Learn how zero-crossing events affect simulation.
Learn how algebraic loops are created during simulation and how to interpret and handle them.
How to choose between Normal, Accelerator, and Rapid Accelerator modes
How to save and restore the complete simulation state for further simulation.
Learn about the Simulation Stepper.
How simulation snapshots work.
How to step through a simulation.
Blocks and modeling constructs that Simulation Stepper supports.
Parameters for controlling simulation stepping.
When to use Fast Restart for speeding up simulation.
How to exit Fast Restart simulation mode.
Parameter tuning and model method execution during Fast Restart.
Limitations of running simulations in Fast Restart mode.