addconfigset
Create configuration set object and add to model object
Syntax
configsetObj =
addconfigset(modelObj, 'NameValue')
configsetObj =
addconfigset(..., 'PropertyName', PropertyValue,
...)
Arguments
| Model object. Enter
a variable name. |
| Descriptive name for a configuration set object. Reserved words
'active' and 'default' are
not allowed. |
| Configset
object. |
Description
creates a configuration set object and returns configsetObj =
addconfigset(modelObj, 'NameValue')configsetObj.
In the configuration set object, this method assigns a value
() to the property
NameValueName.
constructs a configuration set object,
configsetObj =
addconfigset(..., 'PropertyName', PropertyValue,
...), and configures
configsetObj with property value
pairs. The configsetObjconfigsetObj properties are listed in Properties.
A configuration set stores simulation specific information. A model object can
contain multiple configuration sets, with one being active at any given time. The active
configuration set contains the settings that are used during a simulation.
is not automatically
set to active. Use the function configsetObjsetactiveconfigset to define the
active configset for modelObj.
Use the method copyobj to copy a configset
object and add it to the modelObj.
Examples
Version History
Introduced in R2006a
