Configurable Subsystem will be removed in a future release. The Configurable Subsystem blocks in existing models must be converted to Variant Subsystem blocks.
Variant Subsystems offer more capabilities than Configurable Subsystems, with these advantages:
You can mix Model blocks and Subsystem blocks as variant choices.
You can specify variants that have different numbers of input and output ports.
Perform these steps to convert Configurable Subsystem block to a Variant Subsystem block:
Open a model containing Configurable Subsystem block.
Right-click the Configurable Subsystem block and in the context menu, select Subsystem & Model Reference > Convert to > Variant Subsystem.
By default, the Copy without creating links to the configurable subsystem library check box is selected. This creates Variant choices without creating links to library.
Click OK. The Configurable Subsystem block is converted to Variant Subsystem block and is displayed in a new window.
When Configurable Subsystem block is converted to a
Variant Subsystem block, the Block Choice of
Configurable Subsystem block is changed to
LabelModeActiveChoice in Variant Subsystem
Manually replace the Configurable Subsystem block with the converted Variant Subsystem block in the original model.
When you load a model containing Configurable Subsystem blocks, a warning is displayed which will instruct you to convert the Configurable Subsystem block to a Variant Subsystem block.
Consider a model with Configurable Subsystem block. When you load this model, a warning is displayed in the Diagnostic Viewer.
When you create a new Configurable Subsystem block, an upgrade advisor alert is displayed to convert the Configurable Subsystem block to Variant Subsystem block.
In the Diagnostic Viewer, click Open in the Suggested Actions section.
In the Upgrade Advisor, select Identify configurable subsystem blocks for converting to variant subsystem blocks and then click Run This Check. A list of all the Configurable Subsystem blocks in the model and recommend action to be performed is displayed.
Also, when you simulate the model containing Configurable Subsystem blocks, Upgrade Advisor warning is displayed in the editor. A sample screenshot is as shown below.
When Configurable Subsystem block is converted to a Variant Subsystem block, the Block Choice of Configurable Subsystem block is changed to Label mode active choice in Variant Subsystem block.
To change the active variant, perform one of these steps:
Right-click the badge on the Variant Subsystem block
and select Block Parameters (Subsystem). In the
block parameters dialog box, select the active variant from
Label mode active choice drop-down
Right-click the badge on the Variant Subsystem block and select Label Mode Active Choice.
When a Configurable Subsystem block with a mask is
converted to Variant Subsystem block, the
mode active choice option and all other parameters in
block parameters dialog box is disabled. To change the active variant,
right-click the badge on the Variant Subsystem block and
select Label Mode Active Choice.