Main Content

Automatic Mask Icon Promotion in Variant Subsystems

This example demonstrates how Simulink® automatically displays the mask icon of the active variant block on the parent Variant Subsystem block. The example shows mask icon promotion for these types of icons:

  • Plain text

  • Plot

  • Built-in icon

  • Image

Explore the Model

Open the example model slexVariantSubsystemMaskIconPromotion.

  • VSS 1: The mask icon on the active variant block is plain text.

  • VSS 2: The mask icon on the active variant block is a plot.

  • VSS 3: The mask icon on the active variant block is a built-in icon.

  • VSS 4: The mask icon on the active variant block is an image.

Simulate the Model to View Mask Icon Promotion

On the Simulation tab, click Run to see how the mask icon of the active choice gets promoted to the parent subsystem.