Main Content

Simulink.BlockDiagram.getExecutionOrder

Open Execution Order viewer

Description

example

Simulink.BlockDiagram.getExecutionOrder(model) opens the Execution Order viewer for the specified model model.

The Execution Order viewer opens in a pane on the right side of the Simulink® Editor.

Execution Order viewer for the vdp model

example

Simulink.BlockDiagram.getExecutionOrder(model,task) highlights the task that corresponds to the specified task ID number task.

Examples

collapse all

Open the Execution Order viewer and highlight the first task, which has a task ID of 0.

Simulink.BlockDiagram.getExecutionOrder('vdp')

Open the Execution Order viewer and highlight the task with a task ID of 1.

Simulink.BlockDiagram.getExecutionOrder('vdp',1)

Input Arguments

collapse all

Model name, specified as a character vector or string scalar.

Data Types: char | string

Task ID number, specified as an integer.

Data Types: double

Version History

Introduced in R2022b