Display block's I/O when simulation stops
disp d disp gcb disp (t)s:b disp modelName (t)s:b
Syntax and Description
The block whose task index is
The name of the referenced model within the hierarchy of the
top model, which is under debugging followed by the block whose task
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.
disp, you can use the short form of
with any of the syntaxes.