| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → SimBiology |
| Contents | Index |
| Learn more about SimBiology |
unitObjs = sbioshowunits
[Name, Composition]
= sbioshowunits
[Name, Composition, Multiplier]
= sbioshowunits
[Name, Composition, Multiplier,
Offset] = sbioshowunits
[Name, Composition, Multiplier,
Offset, Builtin] = sbioshowunits
[Name, Composition, Multiplier,
Offset, Builtin] = sbioshowunits('Name')
| unitObjs | Vector of unit objects from the BuiltInLibrary and UserDefinedLibrary properties of the Root object. |
| Name | Name of the built-in or user-defined unit. |
| Composition | Shows the combination of base and derived units that defines the unit Name. For example, molarity is mole/liter. |
| Multiplier | The numerical value that defines the relationship between the unit Name and the base or derived unit as a product of the Multiplier and the base unit or derived unit. For example, 1 mole is 6.0221e23*molecule. The Multiplier is 6.0221e23. |
| Offset | Numerical value by which the unit composition is modified from the base unit. For example, °Celsius = (5/9)*(°Fahrenheit-32); Multiplier is 5/9 and Offset is –32. |
| Builtin | An array of logical values. If Builtin is true for a unit, the unit is built in. If Builtin is false for a unit, the unit is user defined. |
unitObjs = sbioshowunits returns the units in the library to unitObjs as a vector of unit objects.
[Name, Composition] = sbioshowunits returns the composition for each unit in Name to Composition as a cell array of strings.
[Name, Composition, Multiplier] = sbioshowunits returns the multiplier for the unit with name Name to Multiplier.
[Name, Composition, Multiplier, Offset] = sbioshowunits returns the offset for the unit with name Name to Offset. The unit is defined as Multiplier*Composition+Offset.
[Name, Composition, Multiplier, Offset, Builtin] = sbioshowunits returns whether the unit is built in or user defined for each unit in Name to Builtin.
[Name, Composition, Multiplier, Offset, Builtin] = sbioshowunits('Name') returns the name, composition, multiplier, offset and built-in status for the unit with name Name. Name can be a cell array of strings.
[name, composition] = sbioshowunits;
[name, composition] = sbioshowunits('molecule');
sbioconvertunits, sbioshowunitprefixes, sbiounit
![]() | sbioshowunitprefixes | sbiosimulate | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |