Main Content

Simulink.BlockDiagram.getExecutionOrder

Open Execution Order pane

Since R2022b

Description

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

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

Execution Order pane for the vdp model

example

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

example

Examples

collapse all

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

openExample('simulink_general/VanDerPolOscillatorExample')
Simulink.BlockDiagram.getExecutionOrder('vdp',0)

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

openExample('simulink_general/VanDerPolOscillatorExample')
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