Component-Based Modeling
Component-based modeling enables efficient and robust system development, facilitates collaboration, and improves verification workflows. Large-scale systems typically use a combination of Simulink components.
To get started with Simulink components, use these resources:
For a video overview of when to use different componentization techniques, see Component-Based Modeling in Simulink (4 min, 28 sec).
To take a self-paced, interactive course on component-based modeling, see Component-Based Modeling.
For an example that shows bottom-up model evolution, see Scale Up Simulink Models.
For detailed help defining and choosing among Simulink components, see Component-Based Modeling in Simulink.
To integrate your existing Simulink components, components authored using third-party tools, and your MATLAB®, C/C++, or Python® code into Simulink, see Choose Tools to Integrate Existing Components and MATLAB, C/C++, or Python Code into Simulink.
Blocks
Tools
| Model Reference Conversion Advisor | Convert subsystems to referenced models |
| Referenced Files Pane | View, save, and close referenced subsystems and models |
| Component Interface View | Display component interfaces to trace port connections and author ports |
Topics
Define Model Components
- Component-Based Modeling in Simulink
Consider componentization for large models and multiuser development teams.
Develop Model Components
- Scale Up Simulink Models
Model a simple plant, then scale the model into a collaborative component-based modeling project.
- STEP 1: Model System Algorithm
- STEP 2: Create Model Components
- STEP 3: Manage Signal Lines
- STEP 4: Manage Model Data
- STEP 5: Reuse Model Components from Files
- STEP 6: Create Interchangeable Variations of Model Components
- STEP 7: Set Up File Management System
Interact with Model Components
- Preview Content of Model Components
Display representation of block contents on the face of a block. - Navigate Model Hierarchy
Navigate model hierarchy using the Explorer Bar and Model Browser. - Trace Connections and Author Ports Using Component Interface View
Display component interfaces to trace port connections and author ports. - Configuration Management
Projects can help you work with configuration management tools for team collaboration.