Configuration Object Functions
To interact with a configuration, programmatically, use a Simulink.ConfigSet object or a Simulink.ConfigSetRef object. You can use the following functions to get information
about the configuration. For more information about using configurations, see Manage Configuration Sets for a Model.
| Function | Purpose |
|---|---|
getFullName | Return the full path name of a configuration set or configuration reference as a character vector. |
getModel | Return the model that owns the configuration set or configuration reference as a handle to the model. |
getRefConfigSet | Return the configuration set that a configuration reference points to. |
isActive | Determine if the configuration set or configuration reference is the active configuration of the model, returned as a boolean value. |
isValidParam | Determine if a specified parameter is a valid parameter of a configuration set. |
refresh | Update a configuration reference after using the API to change any property of
the reference, or after providing a configuration set that did not exist at the time
the set was originally specified in SourceName. If you omit
executing refresh after any such change, the configuration
reference handle will be stale, and using it will give incorrect results. |
saveAs | Save a configuration set to a MATLAB file. |