Documentation

Model Hierarchy

Divide model into subcomponents

Start Here

For large-scale models, component reuse, or multi-user development teams, you should use component-based modeling to define your model hierarchy. See Componentization Guidelines.

Blocks

Subsystem Represent system within another system
Model Include model as block in another model

Functions

Simulink.BlockDiagram.createSubSystem Create subsystem containing specified set of blocks
Simulink.BlockDiagram.copyContentsToSubSystem Copy contents of block diagram to empty subsystem
Simulink.SubSystem.convertToModelReference Convert subsystem to model reference
Simulink.SubSystem.copyContentsToBlockDiagram Copy contents of subsystem to empty block diagram
Simulink.SubSystem.deleteContents Delete contents of subsystem
Simulink.SubSystem.getChecksum Return checksum of nonvirtual subsystem
Was this topic helpful?