sbioregisterunit - Create user-defined unit

Syntax

sbioregisterunit('Name', 'Composition', Multiplier)
sbioregisterunit('Name', 'Composition', Multiplier, Offset)

Description

sbioregisterunit('Name', 'Composition', Multiplier) creates a unit with the name Name where the unit is defined as Multiplier*Composition and records the unit in the UserDefinedUnits vector of sbioroot and adds it to the user-defined library.

sbioregisterunit('Name', 'Composition', Multiplier, Offset) creates a unit with the specified offset. You can list available units with the sbioshowunits function.

See Also

sbioaddtolibrary, sbioremovefromlibrary, sbioshowunits, sbiounit

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS