Simplification of Variant Systems

If your model contains Variant Systems (Simulink), you can reduce the model to a simplified, standalone model containing only selected variant configurations.

Use the Variant Reducer to Simplify Variant Systems

After you Add and Validate Variant Configurations (Simulink), you can reduce the model from the Variant Manager:

  1. Open a model containing at least one valid variant configuration.

  2. Select View >> Variant Manager, or right-click a variant system and select Variant >> Open in Variant Manager.

  3. Click Reduce model....

  4. Select one or more variant configurations.

  5. Set the Output directory.

  6. Click Reduce to create a simplified, standalone model containing only the selected variant configurations.

The Variant Reducer creates a simplified, standalone model in the output directory you specified containing only the variant configurations you selected. For more information, see Reduce Models Containing Variant Blocks (Simulink).

Use Model Slicer to Simplify Variant Systems

After you Add and Validate Variant Configurations (Simulink), you can use Model Slicer to create a simplified, standalone model containing only the active variant configuration. When you Highlight Functional Dependencies in a model containing variant systems, only active variant choices are highlighted. When you Create a Simplified Standalone Model from a model highlight that includes variant systems, Model Slicer removes the variant systems and replaces them with the active variant configurations.

For instructions on how to change the active variant configuration and how to set default variant choices, see Working with Variant Choices (Simulink).

Related Topics