Main Content
Simulink.SubsystemReference.convertSubsystemToSubsystemReference
Description
Simulink.SubsystemReference.convertSubsystemToSubsystemReference(
converts the Subsystem block ssBlock
,ssFile
)ssBlock
in a model or library to a
Subsystem Reference block and saves the subsystem content in a subsystem file
ssFile
. The function returns a logical 1
(true
) on successful conversion. Otherwise, an error message is
displayed.
Examples
Input Arguments
Alternatives
You can convert a Subsystem block to a Subsystem Reference block from the Simulink® toolstrip. For more information, see Convert Subsystem to a Referenced Subsystem.
Version History
Introduced in R2022a