xPC Target    

Running a Simulation Using the Simulink Graphical Interface

You run a simulation of your model to observe the behavior of the model in nonreal-time.

After you load your Simulink model into the MATLAB workspace, you can run a simulation. This procedure uses the Simulink model xpcosc.mdl as an example and assumes you have already loaded that model.

  1. From the Simulation menu, click Normal, and then click Start.
  2. In the Simulink window, double-click the output scope block.

    Simulink opens a scope window showing the output of the model.

  1. You can either let the simulation run to its stop time, or stop the simulation manually. To stop the simulation manually, from the Simulation menu, click Stop.

 Loading a Simulink Model Running a Simulation Using the MATLAB Command Line Interface