attachConfigSetCopy
Copy configuration set or configuration reference and associate it with model
Syntax
Description
creates a copy of the configuration set or configuration reference
configObjCopy = attachConfigSetCopy(model, configObj)configObj and associates it with model. The
function returns the copy of the configuration as a Simulink.ConfigSet object or a Simulink.ConfigSetRef object.
attachConfigSetCopy(
associates the configuration copy with the model and determines how Simulink® handles a name conflict between the configuration and any configuration
objects that are already attached to the model.model, configObj, allowRename)
If allowRename is false and the configuration
object specified by configObj has the same name as a configuration
object already attached to model, Simulink generates an error. If allowRename is
true and a name conflict occurs, Simulink provides a unique name for the copy of configObj before
associating it with the model.
Examples
Input Arguments
Version History
Introduced in R2006b