Simulink.VariantConfigurationAnalysis Class
Namespace: Simulink
Analyze variant configurations programmatically
Description
Note
This class requires Variant Manager for Simulink®.
Use the Simulink.VariantConfigurationAnalysis class to analyze variant
      configurations for a model by specifying either named variant configurations or variable
      groups. The class returns a variant configuration analysis object and has methods that can be
      used to:
Get the list of active blocks in a variant configuration.
Find blocks that are active across all variant configurations.
Find blocks that are inactive in all variant configurations.
Get the list of blocks that differ in active choice between variant configurations.
Get the list of dependent models for a variant configuration.
Get the list of dependent libraries that are used in a variant configuration.
View the variant configuration analysis report.
Hide the variant configuration analysis report.
View variant conditions on a block in a given variant configuration.
Creation
      returns a variant configuration analysis object for the model specified by
        varConfigObj = Simulink.VariantConfigurationAnalysis(mdl,Name,Value)model and sets the ModelName and
        Configurations properties.
Name-Value Arguments
Properties
Methods
Examples
Limitations
Variant Analyzer does not support models that contain variant blocks that use variant control variables defined in the mask or model workspace.
Version History
Introduced in R2019a