Replace subsystem with subsystem contents
Simulink.BlockDiagram.expandSubsystem(
replaces the specified subsystem with its contents in the block diagram that contains it. The file that contains the subsystem must be open or loaded.subsys
)
You can expand virtual subsystems that are not masked, linked, or commented. For details, see什么Ca子系统n You Expand?.
Simulink.BlockDiagram.copyContentsToSubsystem
|Simulink.BlockDiagram.createSubsystem
|Simulink.BlockDiagram.deleteContents
|Simulink.SubSystem.convertToModelReference
|Simulink.SubSystem.copyContentsToBlockDiagram