This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Variants Example Models

The Simulink® Variants Example models help you to understand and use the variant blocks and features.

Variants Example Models

Goal

Related Topics

Variant Subsystems

Specify an active variant control for a variant subsystem programmatically.

Variant Subsystems

Variant Subsystems - Enumerations

Improve readability in the conditions of the Variant object.

Variant Subsystems

Adaptive Interfaces for Variant Subsystems

Observe how the Variant Subsystem block adapts its interface to the connected blocks.

Adaptive Interface for Variant Subsystems

Variant Source and Variant Sink Blocks

Understand variant condition propagation in a model containing Variant Source or Variant Sink blocks.

Variant Source and Variant Sink Blocks

Manual Variant Source and Sink Blocks

Understand propagation of the active variant choice in a model containing manual Variant Source or manual Variant Sink blocks.

Manual Variant Source

Manual Variant Sink

Variant Source and Sink blocks in car wiper motor

Understand how to use Simulink Function block as variants.

 

Variant Management

Create and manage various variant configurations of a model through the Variant Manager.

Variant Manager Overview

Variant Reducer

Reduce a variant model based on specified variant configurations through Variant Manager.

Reduce Models Containing Variant Blocks

Variant Sensors

Understand how variant conditions propagate in a hierarchical nested model.

 

Masking a Variant Subsystem

Understand how to select a variant choice for a variant subsystem using mask initialization code.

Mask a Variant Subsystem

Variants with Function-Call Subsystem

Understand propagation of variant condition in a model containing Function-Call Subsystem block.

Propagate Variant Condition to Conditional Subsystem

Variant Simulink Functions - Inherit Condition

Understand how a Variant Simulink Function can optimally exist based on its Function-callers.

 

Variant Simulink Functions - Specified Condition

Understand how to conditionally define the existence of a Simulink Function.

 

Variant Condition Propagation to Subsystems

Understand propagation of variant conditions in a model containing a variant subsystem.

Propagating Variant Conditions to Subsystems

Variant Condition Propagation to Conditionally Executed Subsystems

Understand propagation of variant condition in a model containing a conditional subsystem.

Propagate Variant Condition to Conditional Subsystem

Variant Subsystem with Conditionally Executed Systems

Understand the modeling of Variant Subsystem with Enable Subsystem as choice.Variant Systems with Conditional Systems

Export function model with Variant Subsystem

Understand the export function modeling of Variant Subsystem with Function-Call blocks as choice.Variant Systems with Conditional Systems

Variant Conditions and Data Stores

Understand the functioning of local Data Store Memory blocks with the Variant blocks.

 

Variant Condition Propagation and Model Blocks

Understand propagation of variant conditions from the output port of the Model block.

Variant Condition Propagation with Model Block

Controlling and Stopping Variant Condition Propagation

Control or stop the Variant condition propagation upstream and downstream for a model containing the Subsystem block.

Control Variant Condition Propagation

Generate preprocessor conditionals for Variant Subsystems

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)

Dimension Variants

Understand how to generate code for a model with dimension variants.

Model Reference Variants

Understand how to use Model blocks as variants.

Model Reference Variants

Model Reference Variants - Enumerations and Reuse

Understand the enumerations and reuse capabilities of a model.

Model Reference Variants

Generate preprocessor conditionals for model subsystem

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 ConditionUnderstand how to simulate or generate code from bus signals with variant conditions.

Variant Elements within Buses

Variant Subsystem - Verification &Validation WorkflowUnderstand how Verification and Validation activities are done on Variant models.  

Related Topics