setDefaultConfigurationName
(To be removed) Set name of the default variant configuration for a variant configuration data object
setDefaultConfigurationName will be removed in a future release. For more
information, see Version History.
Description
setDefaultConfigurationName(
sets the default configuration name for varconfigdata,nameOfConfiguration)vcdataObj, which is an object of
the Simulink.VariantConfigurationData class. vcdataObj
must contain a variant configuration named nameOfConfiguration. If an
empty value is passed, then the default configuration name is cleared.
Note
Setting a default variant configuration for a variant configuration data object is not recommended. Activate and validate the model using a specific variant configuration instead. If you set a default configuration, compiling or simulating the model will apply the default configuration irrespective of the variant control variable values in the global workspace.