Run Individual Simulations
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 interactively by clicking the Run button in the Simulink Toolstrip, or programmatically using functions like
set_param in the MATLAB Command Window or a MATLAB script.
For information about running parallel and batch simulations, see Run Multiple Simulations.
Run and Configure Simulations
Simulate from Initial State or Operating Point
Analyze Simulation Outputs and Metadata
|Query simulation results in |
|Access simulation results in |
|Access simulation metadata in |
|Remove property from |
|Add data to metadata in |
|Add string to metadata in |
|Get names of editable properties on |
|Access simulation outputs and metadata|
|Access metadata of simulation runs|
|Complete information that represents model operating point in simulation|
Run Basic Simulations
- Simulation Phases in Dynamic Systems
Discover how the Simulink software simulates a dynamic system.
- Choosing a Simulation Mode
Based on your simulation needs, choose to run your simulation in normal, accelerator, or rapid accelerator mode.
- Simulate a Model Interactively
Start, suspend, and stop a simulation interactively.
- Run Simulations Programmatically
Programmatically simulate a model using the
- Use Model Operating Point for Faster Simulation Workflow
Reduce the time required to run a set of simulations by simulating from an initial operating point.
- Simulation Pacing
Specify a pace to slow down simulations.
- How Stepping Through a Simulation Works
Learn how simulation snapshots work.
- Set Conditional Breakpoints for Stepping a Simulation
Pause simulation using conditional breakpoints.
- Display Port Values for Debugging
Display the values of block outputs on the block diagram during simulation.
- Operating Point Behavior
Considerations for using operating point with S-functions and modifying models you want to simulate from an initial operating point.