Defining a Variant Subsystem - Defining a Variant Subsystem - 2026.1 English - UG1483

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2026-06-23
Version
2026.1 English

You can create a variant subsystem by dragging a Variant Subsystem block from the Library Browser into your model. This block then contains underlying blocks to implement each variant. Use the following steps to create a variant subsystem:

  1. Drag a Variant Subsystem block into your model. (You can find the Variant Subsystem block in the Simulink Library Browser. Navigate to Simulink > Ports & Subsystems > Variant Subsystem.)

  2. Double-click the Variant Subsystem block.

  3. Each variant choice is defined in a Subsystem or Model block within the Variant Subsystem. You can define each variant choice's implementation by populating the Subsystem blocks in the model, or by copying Subsystem or Model blocks from elsewhere. Rename each Subsystem block to describe which variant selection it represents.
    Note: Do not connect the Variant Subsystem block inputs and outputs. At runtime, the tool determines the port connectivity based on which variant is active.