Starting a Simulation

To start the simulation, click the Start/Continue button on the debugger toolbar.

The simulation starts and stops at the first simulation method that is to be executed. It displays the name of the method in its Simulation Loop pane and in the debug pointer on the block diagram. The debug pointer indicates on the block diagram which block method is being executed at each step. At this point, you can

As the simulation progresses, the block diagram updates with debug pointers.

The debugger displays the name of the method in the Simulation Loop pane, as shown in the following figure:

The debugger also displays a graphical debug pointer (see Debug Pointer) in the block diagram of the model that you are debugging. The debug pointer points to the first block method to be executed.

The following sections explain how to use the debugger controls to perform these debugging tasks.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS