Main Content

getAllDirtyInstances

Returns child Subsystem block diagrams that are referred in the given block diagram and are also being edited

Since R2022a

Description

Simulink.SubsystemReference.getAllDirtyInstances(path) returns all the child Subsystem block diagrams that are referred in the given block diagram and are also being edited.

Input Arguments

expand all

The path of the block diagram specified as string. You can also specify the handle of the block diagram.

Output Arguments

expand all

It returns list of subsystem block diagrams that are being edited and referred in the given block diagram. It is not necessary that the subsystem block diagram is being edited directly. It might be edited through an instance.

Examples

Simulink.SubsystemReference.getAllDirtyInstances('mdl1')
ans =

    'ssref1'

Version History

Introduced in R2022a