Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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

copyobj (any object)Copy SimBiology object and its children
get (any object)Get object properties
reset (root)Delete all model objects from root object
set (any object)Set object properties

Property Summary

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

Introduced in R2006a

Was this topic helpful?