Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

getActiveConfigSet - Get model's active configuration set or configuration reference

Syntax

myConfigObj = getActiveConfigSet('model')

Arguments

model

The name of an open model, or gcs to specify the current model

Description

getActiveConfigSet returns the configuration set or configuration reference (configuration object) that is the active configuration object of 'model'.

Example

The following example returns the active configuration object of the current model. The code is the same whether the object is a configuration set or configuration reference.

myConfigObj = getActiveConfigSet(gcs);

See Also

Setting Up Configuration Sets, Referencing Configuration Sets

attachConfigSet, attachConfigSetCopy, closeDialog, detachConfigSet, getConfigSet, getConfigSets, openDialog, setActiveConfigSet

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS