Unit object

Hold information about user-defined unit

Description

The SimBiology® unit object holds information about user-defined units. To create a unit, create the unit object and add the unit to the library using the sbioaddtolibrary function.

Use the unit object property Composition to specify the composition of your units. See Property Summary for links to unit object property reference pages.

Properties define the characteristics of an object. Use the get and set commands to list object properties and change their values at the command line. You can graphically change unit object properties in the SimBiology desktop, using the Library Explorer. For more information, see What Are SimBiology Libraries?.

Constructor Summary

sbiounitCreate user-defined unit

Method Summary

delete (any object)Delete SimBiology object
display (any object)Display summary of SimBiology object
get (any object)Get object properties
set (any object)Set object properties

Property Summary

CompositionUnit composition
MultiplierRelationship between defined unit and base unit
NameSpecify name of object
NotesHTML text describing SimBiology object
OffsetUnit composition modifier
ParentIndicate parent object
TagSpecify label for SimBiology object
TypeDisplay SimBiology object type
UserDataSpecify data to associate with object
Was this topic helpful?