Main Content

getAllDirtyInstances

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

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

<argumentlist xml:id="mw_f73f0d31-8306-43aa-b5d9-0e28c8788286">

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.

</argumentlist>

Examples

>> Simulink.SubsystemReference.getAllDirtyInstances('mdl1')

ans =

    'ssref1'

Version History

Introduced in R2022a