addCopyOfConfiguration
Add copy of existing variant configuration to variant configuration data object
Syntax
Description
Add-On Required: This feature requires the Variant Manager for Simulink add-on.
addCopyOfConfiguration(
copies the variant configuration named varConfigData,ConfigurationName=oldConfig)oldConfig from the Simulink.VariantConfigurationData object varConfigData and
adds it to the same object. The function gives the new configuration a default name based on
the name of the configuration that is copied.
addCopyOfConfiguration(
specifies a name for the new configuration.varConfigData,ConfigurationName=oldConfig,NewConfigurationName=newConfig)