| SimBiology® | ![]() |
rootObj = sbioroot
modelObj = sbioroot('modelName')
| rootObj | Return sbioroot to this object. |
| modelObj | Return the model with name modelName to this object. |
| modelName | Specify the name of the model that is on the root object. |
rootObj = sbioroot returns the SimBiology root object to root. The SimBiology root object contains a list of the top-level SimBiology model objects, available units, unit prefixes, and available abstract kinetic law objects.
modelObj = sbioroot('modelName') returns the SimBiology model with name, modelName to modelObj. A SimBiology model object has its Parent property set to the SimBiology root object.
The units define the set of built-in units and user-defined units. See Unit object for more information.
The unit prefixes define the set of built-in prefixes and user-defined prefixes. See Unit Prefix object for more information.
The abstract kinetic law objects define the built-in abstract kinetic law objects and user-defined abstract kinetic law objects. The process of defining a reaction requires the use of abstract kinetic law objects when configuring a SimBiology reaction object's KineticLaw property with the addkineticlaw function.
To add a unit, prefix or abstract kinetic law to the root ( in the user-defined library), use the sbioaddtolibrary function. To remove, use sbioremovefromlibrary.
The models opened in the SimBiology desktop are stored in the root object.
| copyobj (any object) | Copy SimBiology® object and its children |
| delete (any object) | Delete SimBiology® object |
| reset (root) | Delete all model objects from root object |
| BuiltInLibrary | Library of built-in components |
| Models | Contain all model objects |
| Type | Display top-level SimBiology® object type |
| UserDefinedLibrary | Library of user-defined components |
Get all SimBiology model objects contained by the root.
rootObj = sbioroot; allmodels = get(rootObj, 'Models');
Get the model with name cell.
modelObj = sbioroot('cell');addkineticlaw, sbiomodel, sbioreset
![]() | sbioreset | sbiorule | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |