Simulink Reference    
Display

Show the value of the input

Library

Sinks

Description


The Display block shows the value of its input.

You can control the display format by selecting a Format choice:

To use the block as a floating display, select the Floating display check box. The block's input port disappears and the block displays the value of the signal on a selected line. If you select the Floating display option, you must turn off Simulink's signal storage reuse feature. See "Signal storage reuse" in Using Simulink for more information.

The amount of data displayed and the time steps at which the data is displayed are determined by block parameters:

If the block input is an array, you can resize the block to show more than just the first element. You can resize the block vertically or horizontally; the block adds display fields in the appropriate direction. A black triangle indicates that the block is not displaying all input array elements. For example, the following figure shows a model that passes a vector (1-D array) to a Display block. The top model shows the block before it is resized; notice the black triangle. The bottom model shows the resized block displaying both input elements.

Data Type Support

A Display block accepts and outputs real or complex signals of any data type, including fixed-point data types, except int64 and uint64.

Parameters and Dialog Box

Format
The format of the data displayed. The default is short.
Decimation
How often to display data. The default value, 1, displays every input point.
Floating display
If selected, the block's input port disappears, which enables the block to be used as a floating Display block.
Sample time
The sample time at which to display points. See Specifying Sample Time in the online documentation for more information.

Characteristics

Sample Time
Inherited from driving block
Dimensionalized
Yes


  Discrete Zero-Pole DocBlock