This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Configure Simulation Conditions

Select solver, set initial conditions, pick input data set, set step size

After you build a model in Simulink®, you can configure the simulation to run quickly and accurately without making structural changes to the model.

The first step in configuring your simulation is to select a solver. By default, Simulink auto-selects a variable-step solver. You can fine-tune the solver options or select a different solver in the Solver Pane of the Configuration Parameters dialog box.

Sometimes, a simulation can slow down or stall. Use the Solver Profiler to identify bottlenecks in the simulation and get recommendations to improve the solver performance.


expand all

openDialogOpen configuration parameters dialog
closeDialogClose configuration parameters dialog
solverprofiler.profileModelExamine model for performance analysis

Simulink Configuration Parameters


Solvers in Simulink

Choose a Solver

Choose a solver based on the dynamics of the model.

Use Auto Solver to Select a Solver

Allow automatic solver selection for your model.

Specify Simulation Start and Stop Time

Specify the start and stop time for a simulation.

Configuration Sets

About Configuration Sets

A configuration set comprises groups of related parameters called components.

Manage a Configuration Set

Specify interchangeable sets of simulation configuration parameters for a model.

Multiple Configuration Sets in a Model

Attach additional configuration sets to your model.

State Information

State Information

How blocks use the state information for calculating the output signal value for the current simulation step.

Load State Information

Import initial states and initialize specific states.

Save and Restore Simulation State as SimState

How to save and restore the complete simulation state for further simulation.

Solver Profiler

Examine Model Dynamics Using Solver Profiler

Identify factors affecting model simulation using the Solver Profiler.

Understand Profiling Results

Learn how to parse the recommendations of the Solver Profiler.

Featured Examples

Was this topic helpful?