addCopyOfConfiguration
R2026bAdd copy of existing variant configuration to variant configurations object
Syntax
Description
addCopyOfConfiguration(
copies the variant configuration named varConfigs,ConfigurationName=oldConfig)oldConfig from the Simulink.VariantConfigurations object varConfigs 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.varConfigs,ConfigurationName=oldConfig,NewConfigurationName=newConfig)