The Simulink® Variants Example models help you to understand and use the variant blocks and features.
Variants Example Models
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 Simulink Function block as variants.
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 hierarchical nested model.
Understand how to select a variant choice for a variant subsystem using mask initialization code.
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 in a model containing a variant subsystem.
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.
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.|
|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.|