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 modelslexVariantSubsystemMaskIconPromotion.

  • VSS 1:面具图标ctive variant block is plain text.

  • VSS 2:面具图标ctive variant block is a plot.

  • VSS 3:面具图标ctive variant block is a built-in icon.

  • VSS 4:面具图标ctive variant block is an image.

Simulate the Model to View Mask Icon Promotion

On theSimulationtab, clickRunto see how the mask icon of the active choice gets promoted to the parent subsystem.