| Simulink® | ![]() |
setActiveConfigSet('model', 'configObjName')
The name of an open model, or gcs to specify the current model
The name of a configuration set (Simulink.ConfigSet) or configuration reference (Simulink.ConfigSetRef)
setActiveConfigSet specifies the active configuration set or configuration reference (configuration object) of model to be the configuration object specified by configObjName. If no such configuration object is attached to the model, an error occurs. The previously active configuration object becomes inactive.
The following example makes DevConfig the active configuration object of the current model. The code is the same whether DevConfig is a configuration set or configuration reference.
setActiveConfigSet(gcs, 'DevConfig');
Configuration Sets, Referencing Configuration Sets
attachConfigSet, attachConfigSetCopy, closeDialog, detachConfigSet, getActiveConfigSet, getConfigSet, getConfigSets, openDialog
![]() | set_param | sfix | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |