Simulating a model gives you results of the algorithms that you build through the process of modeling. You can interact with the simulations by pacing the simulation, tuning model parameters, stopping or pausing the simulation, and displaying port values to evaluate the design of your model. Simulations help you understand the design and behavior of your model.
Simulate a model by clicking the Run
button on the Simulink Editor, or entering simulation commands, for example,
set_param in the
MATLAB Command Window or a MATLAB file.
To learn about multiple simulations, see Run Multiple Simulations.
|Creates SimulationInput objects to make changes to a model for multiple or individual simulations|
|Access object values of simulation results|
|Access metadata of simulation runs|
|Access SimState snapshot data|
Discover how the Simulink software simulates a dynamic system.
Based on your simulation needs, select to run your simulation in Normal, Accelerator, and Rapid Accelerator modes.
Start, suspend, and stop a simulation interactively.
Programmatically simulate a model using the
Save and restore the complete simulation state for further simulation.
Specify a pace to slow down simulations.
Learn how simulation snapshots work.
Pause simulation using conditional breakpoints.
Display the values of block outputs on the block diagram during simulation.