The Simulink® Variants Example models help you to understand and use the variant blocks and features.
Variants Example Models | Goal | Related Topics |
---|---|---|
Specify an active variant control for a variant subsystem programmatically. | ||
Improve readability in the conditions of the
| ||
Observe how the Variant Subsystem block adapts its interface to the connected blocks. | ||
Understand variant condition propagation in a model containing Variant Source or Variant Sink blocks. | ||
Understand propagation of the active variant choice in a model containing Manual Variant Source or Manual Variant Sink blocks. | ||
Understand how to use Variant Source and Variant Sink blocks in a car windshield skeleton model. | ||
Create and manage various variant configurations of a model through the Variant Manager. | ||
Reduce a variant model based on specified variant configurations through Variant Manager. | ||
Understand how variant conditions propagate in a model containing cascaded Variant Source blocks. | ||
Understand how to select a variant choice for a variant subsystem using mask parameters and mask initialization code. | Approaches to Control Active Variant Choice of a Variant Subsystem | |
Understand propagation of variant condition in a model containing Function-Call Subsystem block. | ||
Understand how a Variant Simulink Function can optimally exist based on its Function-callers. | ||
Understand how to conditionally define the existence of a Simulink Function. | ||
Understand propagation of variant conditions to different types of subsystems. | ||
Variant Condition Propagation to Conditionally Executed Subsystems | Understand propagation of variant condition in a model containing a conditional subsystem. | |
Understand the modeling of Variant Subsystem with Enable Subsystem as choice. | Variant Systems with Conditional Systems | |
Understand the export function modeling of Variant Subsystem with Function-Call blocks as choice. | Variant Systems with Conditional Systems | |
Understand the functioning of local Data Store Memory blocks with the Variant blocks. | ||
Understand propagation of variant conditions from the output port of the Model block. | ||
Control or stop the Variant condition propagation upstream and downstream for a model containing the Subsystem block. | ||
Generate and understand code for a model containing the Variant Subsystem block. | Use Variant Subsystem To Generate Code That Uses C Preprocessor Conditionals (Embedded Coder) | |
Understand how to generate code for a model with dimension variants. | ||
Understand how to use Model blocks as variants. | ||
Understand the enumerations and reuse capabilities of a model. | ||
Generate and understand the code for Model blocks within the Variant Subsystem block. | Use Variant Models to Generate Code That Uses C Preprocessor Conditionals (Embedded Coder) | |
Bus - Variant Condition | Understand how to simulate or generate code from bus signals with variant conditions. | |
Variant Subsystem - Verification &Validation Workflow | Understand how Verification and Validation activities are done on Variant models. |