Simulink.VariantManager class

Package: Simulink

Class representing a set of Variant Manager functionality

Description

The variant manager class provides a set of methods to access Variant Manager functionality from the MATLAB command-line. Use an instance of Simulink.VariantManager class to:

  • Convert the Subsystems or Model block to a Variant Subsystem.

  • Find variables used in Variant control expressions.

  • Generate a reduced model for specified variant configurations.

  • Display or control behavior of a variant condition legend.

Method

convertToVariant Convert Subsystem, or Model block, or Variant Model block to a Variant Subsystem block
reduceModelGenerate reduced model for specified variant configurations
variantLegend Display or control behavior of variant condition legend