Visualize and Interpret Variant Elements in Simulink Models
You can use graphical interfaces to monitor which parts of a model are active to trace data flow and logic specific to each design alternative in large and complex models. However, for a comprehensive visualization of the model hierarchy and to centrally manage the use of variant elements such as variant blocks, variant parameters, and variant transitions across the hierarchy, use the Variant Manager for Simulink® support package. For more information, see Variant Manager for Simulink.
Variant Legend
The Variant Legend dialog box helps you visualize the variant control expressions applied to the model. Simulink annotates model elements that have variant control expressions and the variant legend displays the control expressions for each annotation. See Visualize Propagated Variant Conditions and Bounded Regions in Variant Legend.

Variant Badges
Each variant block displays a badge. Right-clicking the badge provides quick access to common variant commands, such as opening the Block Parameters dialog box to edit variant choices and control expressions, and opening the Variant Manager for Simulink support package to configure and manage variant configurations. The color and icon of the badge change based on the values of Variant activation time, Variant control mode, Allow zero active variant controls (for Variant Source and Variant Sink blocks), and Propagate conditions outside of variant subsystem parameters set on the block (for Variant Subsystem block) .

Note
The Refresh Blocks option on the variant badge does not re-evaluate the variables that are defined in the mask workspace of the variant blocks. For example, consider a masked Variant Subsystem block with the variant control variable defined in the mask workspace of the block. To change the active choice of the block, you change the value of the variant control variable. When you then click the Refresh Blocks option, the variant control variable is not re-evaluated and so the active choice of the block is not updated. You must click Apply on the mask dialog box or update the diagram for the latest active choice to reflect.
Variant Badge Icons for Different Settings on Variant Blocks
Variant Fading
The inactive variant choices are dimmed in the block diagram by default. You can disable the fading effect by using Variant Fading in the Information Overlays menu on the Debug tab of the Simulink Editor. For more information, see Inactive Variant Choice.

Signal Highlighting
Signal highlighting visually distinguishes active and inactive variant choices to identify which parts of the model are active for a given variant configuration. This feature enables you to trace data flow and logic specific to each variant implementation in large and complex models. For more information, see Signal Highlighting in Variant Systems.

Start and End Bounded Regions
Highlighting the blocks within a bounded region created by the Variant Start and Variant End blocks enables you to visually distinguish them from other components. This feature allows you to trace data flow and logic specific to each variant implementation in large and complex models. For more information, see Control Variant Condition Propagation using Variant Start and Variant End Blocks.







































