Documentation

Subsystems

Group blocks into functional subsystems, create model hierarchy

Blocks

SubsystemGroup blocks to create model hierarchy

Functions

Simulink.BlockDiagram.createSubsystemCreate subsystem containing specified set of blocks
Simulink.BlockDiagram.copyContentsToSubsystemCopy contents of block diagram to empty subsystem
Simulink.BlockDiagram.expandSubsystemExpand subsystem contents to containing model level
Simulink.SubSystem.convertToModelReferenceConvert subsystem to model reference
Simulink.SubSystem.copyContentsToBlockDiagramCopy contents of subsystem to empty block diagram
Simulink.SubSystem.deleteContentsDelete contents of subsystem

Examples and How To

Create a Subsystem

How to create subsystems.

Configure a Subsystem

Set subsystem execution, behavior, and access

Navigate Subsystems in the Model Hierarchy

Navigate model hierarchy of subsystems and referenced models

Preview Content of Hierarchical Items

Display representation of block contents on the face of a block

Expand Subsystem Contents

Flatten a model hierarchy by bringing the contents of a subsystem up one level

Concepts

Componentization Guidelines

Organize your model into independently functional parts

Subsystem Expansion

Flatten a model hierarchy by bringing the contents of a subsystem up one level

Was this topic helpful?