Simulink.SubsystemReference.convertSubsystemReferenceBlockToSubsystem - Convert Subsystem Reference block to Subsystem block - MATLAB (original) (raw)
Convert Subsystem Reference block to Subsystem block
Since R2022a
Syntax
[Simulink.SubsystemReference.convertSubsystemReferenceBlockToSubsystem(ssRefBlock)](#d126e548258)
Description
Simulink.SubsystemReference.convertSubsystemReferenceBlockToSubsystem([ssRefBlock](#mw%5Fac62ed24-cb2f-4072-adbc-6e36ede6b683))
converts the Subsystem Reference block ssRefBlock
in a model to a Subsystem block.
Examples
The model slexModelUsingReusableSS
uses three instances of the subsystem file slexReusableSS
named Double Input
, Int32 Input
, and Int8 Input
.
open_system("slexModelUsingReusableSS");
Convert the Subsystem Reference block Double Input
in the model to a Subsystem block.
Simulink.SubsystemReference.convertSubsystemReferenceBlockToSubsystem... ("slexModelUsingReusableSS/Double Input");
Input Arguments
Path or handle of a Subsystem Reference block in a model, specified as a string scalar or character vector.
Example: "slexModelUsingReusableSS/Double Input"
Data Types: string
| char
Version History
Introduced in R2022a
See Also
Functions
- Simulink.SubsystemReference.convertSubsystemToSubsystemReference | Simulink.SubsystemReference.convertAllSubsystemReferenceBlocksToSubsystem