| SimBiology® |  |
Models - Contain all model objects
Note
The Models property will be removed in a
future version. Submodels will not be supported in future releases.
Use the function sbioupdate to
convert submodels into models. |
Description
The Models property shows the submodels in
a model object or models in the SimBiology root. Read-only array
of model objects. SimBiology has a hierarchical organization.
A top-level model object has the SimBiology root as its Parent.
Model objects with another model object as Parent are
submodels. For a model object to access configset, kinetic law, reaction,
rule and species objects, you must assign the model object as Parent in
these objects. Parameter objects can have a model object or kinetic
law object as Parent. You can display all the component
objects with modelObj.Models or get
(modelObj, 'Models').
The components of a submodel are contained within the submodel.
In addition, a submodel object can reference parameter variables that
have been assigned to the model object. For example, a parameter
defined within a submodel cannot be used by the parent model or another
model object. A submodel object however, can use the parameters assigned
to the model object.
You can add a submodel to a model object with the method addmodel and
remove it from its parent with the method delete.
Characteristics
| Applies to | Objects: model, root |
| Data type | Array of model objects |
| Data values | Model object. Default is [] (empty). |
| Access | Read-only |
See Also
sbiomodel, sbioupdate
 | ModelName | | Multiplier |  |