Get one of model's configuration sets or configuration references
myConfigObj = getConfigSet(model, configObjName)
getConfigSet returns the configuration set or configuration reference (configuration object) that is attached to model and is named configObjName. If no such object exists, an error occurs.
The following example returns the configuration object that is named DevConfig and attached to the current model. The code is the same whether DevConfig is a configuration set or configuration reference.
myConfigObj = getConfigSet(gcs, 'DevConfig');