Using Simulink Previous page   Next Page

Debug Pointer

Whenever the debugger stops the simulation at a method, it displays a debug pointer on the block diagram of the model being debugged.

The debug pointer is an annotation that indicates the next method to be executed when simulation resumes. It consists of the following elements:

Next Method Box

The next method box appears in the upper left corner of the block diagram. It specifies the name and ID of the next method to be executed.

Block Pointer

The block pointer appears when the next method is a block method. It indicates the block on which the next method operates.

Method Tile

The method tile is a rectangular patch of color that appears when the next method is a block method. The tile overlays a portion of the block on which the next method executes. The color and position of the tile on the block indicate the type of the next block method as follows.

In animation mode, the tiles persist for the length of the current major time step and a number appears in each tile. The number specifies the number of times that the corresponding method has been invoked for the block thus far in the time step.


Previous page  Stepping Commands Setting Breakpoints Next page

© 1994-2005 The MathWorks, Inc.