| SimBiology® | |
The ValueUnits property indicates the unit definition of the parameter object Value property. ValueUnits can be one of the builtin units. To get a list of the builtin units use the sbioshowunits function. If ValueUnits changes from one unit definition to another, the Value does not automatically convert to the new units. The sbioconvertunits function does this conversion.
You can add a parameter object to a model object or a kinetic law object.
| Applies to | Object: parameter |
| Data type | char string |
| Data values | Unit from units library, default is empty ' |
| Access | Read/Write |
Assign a parameter with value to the model object.
Create a model object, then add a reaction object.
modelObj = sbiomodel('my_model');
Add a parameter with Value 0.5 , assign it to the model object (modelObj).
parameterObj1 = addparameter(modelObj, 'K1', 0.5, 'ValueUnits', '1/second')
MATLAB® returns
SimBiology Parameter Array Index: Name: Value: ValueUnits: 1 K1 0.5 1/second
sbioparameter, addparameter, sbioshowunits, sbioconvertunits
![]() | Value |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |