Getting Started    

Setting Simulation Parameters

Besides individual block parameters, the model also has overall simulation parameters. To view the current settings,

  1. Select the Simulation menu at the top of the model window.
  2. Select Simulation parameters to open the Simulation Parameters dialog box, as shown in the following figure.

Simulation Parameters Dialog Box

If you typed commstartup before creating the model, the Stop time should be set to inf. The Stop time determines the time at which the simulation ends. Setting Stop time to inf causes the simulation to run indefinitely, until you stop it by selecting Stop from the Simulation menu.

The Stop time is not the actual time it takes to run a simulation. The actual run-time for a simulation depends on factors such as the model's complexity and your computer's clock speed.

The settings in the Simulation parameters dialog box affect only the parameters of the current model.


  Setting Block Parameters Running the Model