Sequence Viewer
R2026bDisplay messages, events, states, transitions, and functions between blocks during simulation
Libraries:
Simulink /
Messages & Events
SimEvents
Simulink Test
Stateflow
Description
The Sequence Viewer block displays messages, events, states, transitions, and functions between certain blocks during simulation. The blocks that you can display are called lifeline blocks and include:
Subsystems
Referenced models
Blocks that contain messages, such as Stateflow® charts
Blocks that call functions or generate events, such as Function Caller, Function-Call Generator, and MATLAB Function blocks
Blocks that contain functions, such as Function-Call Subsystem and Simulink Function blocks
To see states, transitions, and events for lifeline blocks in a referenced model, you must have a Sequence Viewer block in the referenced model. Without a Sequence Viewer block in the referenced model, you can see only messages and functions for lifeline blocks in the referenced model.
Note
The Sequence Viewer block does not display function calls generated by MATLAB Function blocks and S-functions.
Examples
Parameters
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"simulink/Messages & Events/Sequence Viewer"
"sldelib/Sequence Viewer"
"sltestlib/Sequence Viewer"
"sflib/Sequence Viewer"
Example: add_block("simulink/Messages & Events/Sequence Viewer","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2015b

