Main Content

disp

Display information about specified block when simulation debugging session pauses

Description

disp blk registers a display point for the block specified by blk. The software displays information about all registered display points each time the simulation pauses.

Note

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 mdl blk registers a display point for the block specified by blk in the referenced model specified by mdl.

disp displays a list of registered display points for the current simulation debugging session.

Input Arguments

collapse all

Block to register as a display point, specified as one of these options:

  • (t)s:b — Block with index b in system with index s and task with index t

  • 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 (t)s:b.

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 (t)s:b.

Tips

  • To clear a registered display point, use the undisp function.

  • The software displays the level of information configured for the simulation debugging session. To specify the level of information to display, use the probe function.

Version History

Introduced before R2006a