Main Content

Component-Based Modeling

Learn when to use different types of model components

Component-based modeling enables efficient and robust system development, facilitates collaboration, and improves verification workflows. Large-scale systems typically use a combination of Simulink® model components.

For an overview of when to use different componentization techniques, see Component-Based Modeling in Simulink (4 min, 28 sec).

For help defining model components, see Component-Based Modeling Guidelines.

For an example that shows bottom-up model evolution, see Basic Modeling Workflow.

Blocks

expand all

SubsystemGroup blocks to create model hierarchy
ModelReference another model to create model hierarchy
Variant Subsystem, Variant ModelTemplate subsystem containing Subsystem blocks as variant choices
In Bus ElementSelect input from external port
Out Bus ElementSpecify output of external port

Tools

Model Reference Conversion AdvisorConvert subsystems to referenced models
Referenced Files PaneView, save, and close referenced subsystems and models (Since R2020b)
Component Interface ViewDisplay component interfaces to trace port connections and author ports

Topics

Define Model Components

Develop Model Components

Interact with Model Components