Main Content

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. For more information, see SimBiology Model Component Libraries.

Constructor Summary

sbiounitCreate user-defined unit

Method Summary

deleteDelete SimBiology object
displayDisplay summary of SimBiology object
findUsagesFind out how a unit or unit prefix is used
getGet SimBiology object properties
renameRename SimBiology model component and update expressions
setSet SimBiology object properties

Property Summary

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

Version History

Introduced in R2008a