For simulation of continuous, discrete, and mixed-signal systems, you can choose from a range of fixed-step and variable-step solvers. Solvers are integration algorithms that compute system dynamics over time.
If you don’t know which solver you need, try auto solver. Auto solver chooses an optimal solver for your model and sets the maximum step size of the simulation.
You can also save a specific set of simulation options as a configuration set. After saving a configuration set, you can reuse those options with a different model, or easily switch between configuration sets. See Manage a Configuration Set.
|Examine model for performance analysis|
How to allow automatic solver selection for your model.
How to specify the start and stop time for a simulation.
Import initial states and initialize specific states.
Identify factors affecting model simulation using the Solver Profiler.
Learn how to parse the recommendations of the Solver Profiler.
Learn how to control variant blocks.
How to specify interchangeable sets of simulation configuration parameters for a model.
Using Multiple Configuration Sets in a Model
How to set block execution priority and display its execution order.
How to select the optimal solver for simulating a model.
How to choose a solver based on the dynamics of the model.
How blocks use the state information for calculating the output signal value for the current simulation step.
Overview of Model Configurations
A configuration set comprises groups of related parameters called components.