Using Simulink     Search    Help Desk 

Starting the Simulation

After you have applied the solver and simulation parameters to your model, you are ready to run the simulation. Select Start from the Simulation menu to run the simulation. You can also use the keyboard shortcut, Ctrl-T. When you select Start, the menu item changes to Stop.

Your computer beeps to signal the completion of the simulation.

Note
A common mistake that new Simulink users make is to start a simulation while the Simulink block library is the active window. Make sure your model window is the active window before starting a simulation.

To stop a simulation, choose Stop from the Simulation menu. The keyboard shortcut for stopping a simulation is Ctrl-T, the same as for starting a simulation.

You can suspend a running simulation by choosing Pause from the Simulation menu. When you select Pause, the menu item changes to Continue. You proceed with a suspended simulation by choosing Continue.

If the model includes any blocks that write output to a file or to the workspace, or if you select output options on the Simulation Parameters dialog box, Simulink writes the data when the simulation is terminated or suspended.



[ Previous | Help Desk | Next ]