Display information about specified block when simulation debugging session pauses
disp registers a display point for
the block specified by
blk. The software displays information
about all registered display points each time the simulation pauses.
This function is supported only for simulation debugging sessions started programmatically using the
sldebug function or using the
sim function with the
'debug' name-value argument.
disp displays a list of registered display points for the
current simulation debugging session.
blk — Block to register as a display point
Block to register as a display point, specified as one of these options:
(t)s:b— Block with index
bin system with index
sand task with index
gcb— Current block
When you specify the name of the referenced model that contains the block,
you must specify the block to register as a display point in the form
mdl — Name of referenced model that contains block to register as display point
string | character vector
Name of referenced model that contains block to register as display point, specified as a string or a character vector.
When you specify this argument, you must specify the block to register as
a display point in the form
Introduced before R2006a