| Simulink Reference | ![]() |
Associates a configuration set with a model.
Syntax
Description
attachActiveConfigSet(model) associates the Simulink.ConfigSet object specified by configSet with model, where model is the name of an open model.
| Note You cannot attach a configuration set to a model if the configuration set is already attached to another model or has the same name as another configuration set attached to the same model. |
Examples
The following example creates a copy of the current model's active configuration set and attaches it to the model as an alternate configuration geared to model development.
activeConfig = getActiveConfigSet(gcs); develConfig = activeConfig.copy; develConfig.Name = 'develConfig'; attachActiveConfigSet(gcs, develConfig);
See Also
setConfigSet, getActiveConfigSet
| addterms | bdclose | ![]() |
© 1994-2005 The MathWorks, Inc.