disp

Display block's I/O when simulation stops

Syntax

disp
d
disp gcb
disp s:b
disp  modelName s:b

Arguments

Syntax and Description

SyntaxDescription

s:b

The block whose system index is s and block index is b.

modelName s:b

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 s and block index is b.

gcb

Current block.

Description

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.

See Also

| | |

Introduced before R2006a