The Display > Signals & Ports submenu of the Simulink® Editor offers the following options for displaying signal properties on the block diagram:
Port Data Types (See Port Data Types)
Design Ranges (See Design Ranges)
Signal Dimensions (See Signal Dimensions)
Signal Resolution Indicators (See Signal to Object Resolution Indicator)
Wide Nonscalar Lines (See Wide Nonscalar Lines)
In addition, you can display sample time information. If you first select Display > Sample Time, a submenu provides the choices of Colors, Annotations and All. The Colors option allows the block diagram signal lines and blocks to be color-coded based on the sample time types and relative rates. The Annotations option provides black codes on the signal lines which indicate the type of sample time. All causes both the colors and the annotations to display. All of these options cause a Sample Time Legend to appear. The legend contains a description of the type of sample time and the sample time rate. If Colors is turned 'on', color codes also appear in the legend. The same is true if Annotations are turned 'on'.
Displays the data type that each signal uses for simulation and code generation. The data type appears next to the output port that emits the signal.
(c) indicates that the signal
is numerically complex (
If you use data type aliases (such as a
Simulink.AliasType objects in the base
workspace or a data dictionary) to set output data types in your model,
by default, the diagram displays the aliases.
If you create a chain of aliases (for example, by using one
as the base type of another
the diagram displays only the alias that you use to set the output
data type of each signal. The diagram does not display the underlying
aliases in the chain.
To display the lowest underlying base data type (such as
s16En14) as well as the alias, in the model,
select Display > Signals
and Ports > Port Data Type Display Format > Base and Alias Types.
Alternatively, you can display the base type and not the alias by selecting Base Type.
When you use a fixed-point data type, the diagram displays the base type by using a standard notation that indicates the characteristics of the type (such as signedness and binary fraction length). To interpret this notation, see Fixed-Point Data Type and Scaling Notation (Fixed-Point Designer).
Displays the compiled design range of a signal next to the output port that emits the signal. The ranges are computed during an update diagram.
Ranges are displayed in the format
In the above example, the design range at the output port of the Mux
block is displayed as
[-10..mixed], because the
two signals the Mux block combines have the same design minimum but
different design maximums.
You can also use command-line parameters
access the design minimum and maximum of port signals, respectively,
at compile time. For more information, see Common Block Properties.
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
Ni is the size of the
dimension of the signal. If the line represents a bus carrying signals
of the same data type, Simulink displays
the number of signals carried by the bus and
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
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,
x2 must resolve to a signal object, so a
signal resolution icon appears to the left of the signal name in each
To suppress the display of signal resolution icons, in the model window deselect Display > Signals & Ports > Signal to Object Resolution Indicator, which is selected by default. To restore signal resolution icons, reselect Signal to Object Resolution Indicator. Individual signals cannot be set to show or hide signal resolution indicators independently of the setting for the whole model. For additional information, see:
Draws lines that carry vector or matrix signals wider than lines that carry scalar signals.
See Mux Signals for more information about vector and matrix signals.