Models - Contain all model objects

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 toObjects: model, root
Data typeArray of model objects
Data valuesModel object. Default is [] (empty).
AccessRead-only

See Also

sbiomodel, sbioupdate

  


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