This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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, select Display > Signals & Ports > Port Data Types and save the model. The next time you load the model, it displays the data type and complexity signal attributes.

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

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

The ShowLineDimensions and ShowPortUnits properties 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 the CompiledPortDimensions parameter. For details, see Get Compiled Port Dimensions.

See Also

| | | | |

Related Topics