Parent - Indicate parent object
Description
The Parent property indicates the parent
object for a SimBiology object (read-only). The Parent property
indicates accessibility of the object. The object is accessible to
the Parent object and other objects within the Parent object.
The value of Parent depends on the type of object
and how it was created. All models always have the SimBiology root
as the Parent.
More Information
The following table shows you the different objects and the
possible Parent value.
| Object | Parent |
| abstract kinetic law | |
| compartment | model object |
| event | model object or [] (empty) |
| kinetic law | reaction object |
| model | root object |
| parameter | model object, kinetic law object, or [] (empty) |
| reaction | model object or [] (empty) |
| rule | model object or [] (empty) |
| species | compartment |
| variant | model object or [] (empty) |
| unit and unit prefixes | |
Characteristics
| Applies to | Objects: abstract kinetic law, compartment, event, kinetic
law, model, parameter, reaction, rule, species, variant, unit, or
unit prefix |
| Data type | Object |
| Data values | SimBiology component object or [] (empty) |
| Access | Read-only |
See Also
addkineticlaw, addmodel, addparameter, addreaction, sbiomodel
 | ParameterVariables | | PKCompartments |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit