Description

attachConfigSet(model, configObj, allowRename)
associates the configuration set to the model and determines how Simulink® handles a name conflict between configObj and any
configuration objects that are already attached to the model.

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 configObj before associating
it with the model.

Specification that determines if Simulink renames the configuration object in the case of a name conflict, specified
as a Boolean. If allowRename is false and a name
conflict occurs, Simulink generates an error. You cannot attach a configuration object to a model if
the configuration object is already attached to another model.