Sequence Viewer

Display messages, events, states, transitions, and functions between blocks during simulation

  • Library:
  • Simulink / Messages & Events

    Simulink Test

    SimEvents

    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.

Parameters

expand all

When using a variable step solver, change this parameter to adjust the time precision for the sequence viewer.

Programmatic Use

Block Parameter: VariableStepTimePrecision
Type: character vector
Values: '3' | scalar
Default: '3'

Programmatic Use

Block Parameter: History
Type: character vector
Values: '1000' | scalar
Default: '1000'

Block Characteristics

Data Types

Boolean | bus | double | enumerated | fixed point | integer | single

Direct Feedthrough

no

Multidimensional Signals

yes

Variable-Size Signals

no

Zero-Crossing Detection

no

Extended Capabilities

Introduced in R2015b