Subcomponents and Utilities
Modularize component models by using Simulink component-based modeling options, reuse techniques, and variants
You model a subcomponent as a subsystem, linked subsystem, or referenced model. A subcomponent exposes itself as one or more entry-points symbolically scoped to its parent component. The parent component gains access to subcomponent code by using subcomponent entry points. If the usage contexts are equivalent, for example, you configure instances to use identical hardware settings, you can create multiple instances of subcomponents. Code generated for subcomponents is not accessible to platform services.
Categories
- Subsystems
Generate and reuse code for subsystems
- Referenced Models
Generate code for referenced models
- Stateflow Charts
Generate and reuse code for Stateflow® charts
- Library Subsystems
Generate and reuse code for subsystems included in a library that is configured for reuse
- Model Composition and Reuse
Design models from which you can generate reusable code
- Variant Systems
Generate code for dimension, subsystem, and variant models, and for models containing Variant Sink and Variant Source blocks