Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

Displaying Block Outputs

Block Output Data Tips

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.

Setting Block Output Data Tip Options

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.

Enabling Block Output Display

To turn block output display on or off, select one these options:

The Microsoft Windows operating system Simulink version also has a Model Editor output display button to control block output display when hovering.

Controlling the Block Output Display

You can specify how the block output display is formatted and how frequently the display updates.

Block Output Data Tip Display CharacteristicWhat You Specify
Text sizeTo increase the size of the output display text, move the Font size slider to the right.
Floating point data formatChoose a floating point format from the Display Format list.
Fixed-point data formatChoose 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.

Port Value Display Limitations

Accelerated Modes

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, Accelerator Mode, and Testing and Refining Concept Models With Standalone Rapid Simulations for more information.

Signal Storage Reuse

A model with Signal storage reuse enabled displays a warning when you set Display values to Show When Hovering or Toggle When Clicked .

Click the OK button if you want the new Display values option to take effect, despite the possibility that values for output ports could be incorrect.

Signal Data Types

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.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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