Main Content
setPreferredConfiguration
Class: Simulink.VariantConfigurationData
Namespace: Simulink
Set name of preferred variant configuration for variant configuration data object
Since R2022b
Description
Note
This method requires Variant Manager for Simulink®.
vcdataObj.setPreferredConfiguration(
sets the name of the preferred variant configuration for the
nameOfConfiguration
)Simulink.VariantConfigurationData
object vcdataObj
to
nameOfConfiguration
.
Input Arguments
Examples
Version History
Introduced in R2022b