| SimBiology® | ![]() |
UserDefinedLibrary is a SimBiology® root object property containing all user-defined components of unit, unit-prefixes, and abstract kinetic laws that you define. You can add, modify, or delete components in the user-defined library. The UserDefinedLibrary property is an object that contains the following properties:
Units — contains any user-defined units. You can specify units for compartment capacity, species amounts and parameter values, to do dimensional analysis and unit conversion during simulation. You can display the user-defined units either by using the command sbiowhos -userdefined -unit, or by accessing the root object.
UnitPrefixes — contains any user-defined unit prefixes. You can specify unit prefixes in combination with a valid unit for compartment capacity, species amounts and parameter values, to do dimensional analysis and unit conversion during simulation. You can display the user-defined unit-prefixes either by using the command sbiowhos -userdefined -unitprefix, or by accessing the root object.
KineticLaws — contains any user-defined unit abstract kinetic laws. Use the command sbiowhos -userdefined -kineticlaw to see the list of user-defined kinetic laws. You can use user-defined kinetic laws when you use the command addkineticlaw to create a kinetic law object for a reaction object. Refer to the kinetic law by name when you create the kinetic law object. For example, kineticlawObj = addkineticlaw(reactionObj, 'Henri-Michaelis-Menten');
See Abstract Kinetic Law for a definition and more information.
| Applies to | Object: root |
| Data type | object |
| Data values | Unit, unit-prefix, and abstract kinetic law objects |
| Access | Read-only |
Characteristics for UserDefinedLibrary properties:
Units
| Applies to | UserDefinedLibrary property |
| Data type | unit objects |
| Data values | units |
| Access | Read/Write |
UnitPrefixes
| Applies to | BuiltInLibrary property |
| Data type | Unit prefix objects |
| Data values | Unit prefixes |
| Access | Read/Write |
KineticLaws
| Applies to | BuiltInLibrary property |
| Data type | Abstract kinetic law object |
| Data values | kinetic laws |
| Access | Read/Write |
This example uses the command sbiowhos to show the current list of user-defined components.
sbiowhos -userdefined -kineticlaw sbiowhos -userdefined -unit sbiowhos -userdefined -unitprefix
This example shows the current list of user-defined components by accessing the root object.
rootObj = sbioroot; get(rootObj.UserDefinedLibrary, 'KineticLaws') get(rootObj.UserDefinedLibrary, 'Units') get(rootObj.UserDefinedLibrary, 'UnitPrefixes')
Functions — sbioaddtolibrary, sbioremovefromlibrary sbioroot, sbiounit, sbiounitprefix
Properties — BuiltInLibrary
![]() | UserDefinedKineticLaws | UserDefinedUnitPrefixes | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |