Display block's I/O when simulation stops
disp d disp gcb disp s:b disp modelName s:b
Syntax and Description
Syntax | Description |
---|---|
| The block whose system index is |
| The name of the referenced model within the hierarchy of the
top model, which is under debugging followed by the block whose
system index is |
| Current block. |
The disp
command registers a block as a display
point. The debugger displays the inputs and outputs of all display
points in the MATLAB® Command Window whenever the simulation halts.
Invoking disp
without arguments shows a list of
display points. Use undisp
to unregister a block.
Instead of disp
, you can use the short form
of d
with any of the syntaxes.