| Contents | Index |
| On this page… |
|---|
Setting Block Output Data Tip Options Controlling the Block Output Display |
For many blocks, Simulink can display block output (port values) as data tips on the block diagram while a simulation is running. The following model shows a port value data tip for the Fcn block, displaying an output value of –0.0797.

Note The block output display feature has limitations for models with:
|
You can set data tip options by selecting Port Values > Options from the Model Editor View menu and using the Block Output Display Options dialog box.

To turn block output display on or off, in the Display values section of the dialog box, select one these options:
Show None
Turns off block output display.
Show When Hovering
Displays output port values for the block under the mouse cursor.
Toggle When Clicked
Displays output port values when you select a block. Reselecting that block turns off the display.
Simulink on Microsoft Windows platforms also has a Model Editor output display button to enable or disable block output display when hovering.

You can specify block output display formatting and how frequently the display updates.
| Block Output Data Tip Display Characteristic | What You Specify |
|---|---|
| Text size | To increase the size of the output display text, move the Font size slider to the right. |
| Floating point data format | Choose a floating point format from the Display Format list. |
| Fixed-point data format | Choose a fixed-point format from the Display Format list. |
Refresh interval (rate at which Simulink updates the output display) The refresh rate is approximate and is independent of simulation time. | To increase the interval, move the Refresh interval slider to the right. |
Simulink displays xx.xx when you toggle or hover on a block, indicating that no block output is available. You see the xx.xx value if you did any of the following actions:
Did not run the simulation
Did not enable the block output display option before running the simulation
Did not toggle on a block during simulation
Also, if you toggle or hover on a block that Simulink optimizes out of a simulation (such as a virtual subsystem block), then you see block output during simulation. However, if you pause or stop the simulation, and you toggle or hover on that same block, then Simulink displays xx.xx.
Enabling the hovering option, or toggling at least one block, slows down the simulation.
Port values do not update in a model that simulates in any Accelerated mode. The limitation exists whether the model itself specifies accelerated simulation or the model is subordinate to a model that specifies accelerated simulation. See Accelerating Models, and Rapid Simulations for more information.
A model with the Signal storage reuse parameter enabled displays a warning when you set Display values to Show When Hovering or Toggle When Clicked.

Do one of the following steps:
Click Cancel to avoid enabling block output display.
Click OK to enable block output display, despite the possibility that values for output ports could be incorrect.
Click OK to enable block output display. Open the Configuration Parameters dialog box, and then clear the Signal storage reuse check box on the Optimization > Signals and Parameters pane. Disabling signal storage reuse increases the amount of memory used during simulation.
The port value displays for ports connected to most kinds of signals, including signals with built-in data types (such as double, int32, or Boolean), DYNAMICALLY_TYPED, and several other data types. However, no data displays for signals with some complex data types, such as bus signals.
![]() | Changing a Block's Appearance | Controlling and Displaying the Sorted Order | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |