Simulink.VariantManager.open
Syntax
Description
Add-On Required: This feature requires the Variant Manager for Simulink add-on.
Use the Simulink.VariantManager.open function to open Variant
Manager programmatically for a Simulink® model. You can also use this function to open the
Simulink.VariantConfigurationData object dialog box to define and edit
variant configurations and constraints without a Simulink model.
Variant Manager
Simulink.VariantManager.open(
opens Variant Manager for the model or block identified by
modelOrBlock)modelOrBlock. The model must be loaded.
Simulink.VariantManager.open(Model=
allows you to specify the argument using the modelOrBlock)Name=Value syntax.
Variant Configuration Data Object
Simulink.VariantManager.open(VariantConfigurations=
opens Variant Manager for the varConfigDataName,Source=src)Simulink.VariantConfigurationData object
named varConfigDataName that is defined in the data source specified
by src.
Examples
Input Arguments
Version History
Introduced in R2026a