Main Content

convertAllSubsystemReferenceBlocksToSubsystem

Converts all subsystem reference blocks to regular Subsystem blocks

Since R2022a

Description

Simulink.SubsystemReference.convertAllSubsystemReferenceBlocksToSubsystem(path) converts all subsystem reference blocks inside a given block diagram to regular Subsystem blocks.

Input Arguments

expand all

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

Examples

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

Version History

Introduced in R2022a