In Simulink®, you can create models that are based on a modular design platform that comprises a fixed common structure with a finite set of variable components. The variability helps you develop a single, fixed master design with variable components.
The approach helps you meet diverse customer requirements that are governed by application, cost, or operational considerations.
Variants are the variable components of modular design platforms. They help you specify multiple implementations of a model in a single, unified block diagram. For more information, see What Are Variants and When to Use Them.
|Variant Subsystem||Represent multiple implementations of a system via a subsystem|
|Variant Source||Route amongst multiple inputs using variants|
|Variant Sink||Route amongst multiple outputs using variants|
|Manual Variant Source||Switch amongst multiple variant choices at input|
|Manual Variant Sink||Switch amongst multiple variant choices at output|
|Model Variants||Include multiple model implementations as block in another model|
Single system that caters to multiple variant requirements.
Lean how to create a model using Variant blocks.
Learn how to control variant blocks.
Activate, inactivate, or create default variant choices.
Use MATLAB® code to define variant controls.
Represent variant choices using Inline Variants.
View the variant choices in a model containing Inline Variants.
Propagate variant conditions from the Inline Variants block.
Configure, disable, and parameterize Model Variants.
Configure and generate code for a variant model.
Use a central tool to manager variation points of a variants model.
Create variant configuration for a model and validate their accuracy.
Import control variables associated with a model.
Define constraints across models.
Generate models with a subset of variant configurations.
A set of concept examples that illustrate some of the Simulink variants capabilities.
Generate Code for a model containing Variant Subsystem block.
Define variant choice regions in the Variant Source and Sink blocks.