Using Simulink Previous page   Next Page

Simulation Basics

Simulating a Simulink model requires only that you start the simulation (see Starting a Simulation). However, before starting the simulation, you may want to specify various simulation options, such as the simulation's start and stop time and the type of solver used to solve the model at each simulation time step. Specifying simulation options is called configuring a simulation. Simulink enables you to create multiple simulation configurations, called configuration sets, for a model, modify existing configuration sets, and switch configuration sets with a click of a mouse button (see Configuration Sets for information on creating and selecting configuration sets).

Once you have defined or selected a simulation configuration set that meets your needs, you can start the simulation. Simulink then runs the simulation from the specified start time to the specified stop time. While the simulation is running, you can interact with the simulation in various ways, stop or pause the simulation (see Pausing or Stopping a Simulation), and launch simulations of other models. If an error occurs during a simulation, Simulink halts the simulation and pops up a diagnostic viewer that helps you to determine the cause of the error.


Previous page  Running Simulations Controlling Execution of a Simulation Next page

© 1994-2005 The MathWorks, Inc.