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.

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 Libraries.

Constructor Summary

sbiounitCreate user-defined unit

Method Summary

delete (any object)Delete SimBiology object
display (any object)Display summary of SimBiology object
findUsages (unit, unitprefix)Find out how a unit or unit prefix is used
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

Introduced in R2008a

Was this topic helpful?