Main Content

sbioroot

Return SimBiology root object

Syntax

rootObj = sbioroot

Arguments

rootObjReturn sbioroot to this object.

Description

rootObj = sbioroot returns the SimBiology® root object to root. The SimBiology root object contains a list of the SimBiology model objects, available units, unit prefixes, and available kinetic laws.

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 kinetic laws define the built-in kinetic laws and user-defined kinetic laws. See AbstractKineticLaw object for more information.

To add a unit, prefix or 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.

Method Summary

copyobjCopy SimBiology object and its children
deleteDelete SimBiology object
displayDisplay summary of SimBiology object
getGet SimBiology object properties
reset (root)Delete all model objects from root object
setSet SimBiology object properties

Property Summary

BuiltInLibraryLibrary of built-in components
ModelsContain all model objects
TypeDisplay SimBiology object type
UserDefinedLibraryLibrary of user-defined components

Version History

Introduced in R2006a