Using Simulink    

Simulation Basics

Running a Simulink model is generally a two-step process. First, you specify various simulation parameters, such as the solver used to solve the model, the start and stop time for the simulation, the maximum step size, and so on (see Specifying Simulation Parameters). You then start the simulation. Simulink runs the simulation from the specified start time to the specified stop time (see Starting a Simulation). 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.


  Running a Simulation Specifying Simulation Parameters