Displaying Signal Properties

Port/Signal Displays Menu

A model window's Format >Port/Signal Displays menu offers the following options for displaying signal properties on the block diagram:

Port Data Types

Displays the data type of a signal next to the output port that emits the signal.

The notation (c) following the data type of a signal indicates that the signal is complex.

Signal Dimensions

Display the dimensions of nonscalar signals next to the line that carries the signal.

The format of the display depends on whether the line represents a single signal or a bus. If the line represents a single vector signal, Simulink® displays the width of the signal. If the line represents a single matrix signal, Simulink displays its dimensions as [N1xN2] where Ni is the size of the ith dimension of the signal. If the line represents a bus carrying signals of the same data type, Simulink displays N{M} where N is the number of signals carried by the bus and M is the total number of signal elements carried by the bus. If the bus carries signals of different data types, Simulink displays only the total number of signal elements {M}.

Signal Resolution Indicators

The Simulink Editor by default graphically indicates signals that must resolve to signal objects. For any labeled signal whose Signal name must resolve to signal object property is enabled, a signal resolution icon appears to the left of the signal name. The icon looks like this:

A signal resolution icon indicates only that a signal's Signal name must resolve to signal object property is enabled. The icon does not indicate whether the signal is actually resolved, and does not appear on a signal that is implicitly resolved without its Signal name must resolve to signal object property being enabled.

Where multiple labels exist, each label displays a signal resolution icon. No icon appears on an unlabeled branch. In the next figure, signal x2 must resolve to a signal object, so a signal resolution icon appears to the left of the signal name in each label:

To suppress the display of signal resolution icons, in the model window deselect Format > Port/Signal Displays > Signal Resolution Indicators, which is selected by default. To restore signal resolution icons, reselect Signal Resolution Indicators. Individual signals cannot be set to show or hide signal resolution indicators independently of the setting for the whole model. For additional information, see:

Wide Nonscalar Lines

Draws lines that carry vector or matrix signals wider than lines that carry scalar signals.

See Using Composite Signals for more information about vector and matrix signals.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS