Documentation

Display Signal Attributes at Model Load Time

When working with multiple model components in large models, consider displaying signal attributes at load time without compiling the model. To enable the display, on theDubugtab, selectInformation Overlays>Port Data Type, and then save the model. The next time you load the model, it displays the data type and complexity signal attributes.

You can use theShowPortDataTypesproperty to toggle the display of the data type and complexity signal attributes:

set_param(bdroot,'ShowPortDataTypes','on') set_param(bdroot,'ShowPortDataTypes','off')

TheShowLineDimensionsandShowPortUnitsproperties then display dimensions and units at load time.

These blocks are a subset of the blocks that support the display of signal attributes:

For example, this model has the display of port data types disabled.

And this is the same model after enabling the display of port data types.

Tip

To display port dimensions and values for a compiled model, you can use theCompiledPortDimensionsparameter. For details, seeGet Compiled Port Dimensions.

See Also

|||||

Related Topics