Main Content

convertSubsystemReferenceBlockToSubsystem

Converts a subsystem reference block to a regular Subsystem block

Description

Simulink.SubsystemReference.convertSubsystemReferenceBlockToSubsystem(path) converts subsystem reference block to regular Subsystem block for a given block

Input Arguments

expand all

The path of the subsystem reference block that needs to be converted to Subsystem is specified. You can also specify the handle of the subsystem reference block.

Examples

 >> Simulink.SubsystemReference.convertSubsystemReferenceBlockToSubsystem('mdl1/Subsystem Reference')

Version History

Introduced in R2022a