Value
Value of species, compartment, or parameter object
Description
The Value
property is the value of a parameter, species, or compartment
object.
A parameter object defines an assignment that can be used by the model object and/or the
kinetic law object. Create parameters and assign Value
using the method
addparameter
.
For a species object, this property is identical to the InitialAmount
property. For a compartment object, this property is identical to
the Capacity
property.
Characteristics
Applies to | Object: species, compartment, parameter |
Data type | double |
Data values | Any |
Access | Read/write |
Examples
Assign a parameter with a value to the model object.
Create a model object, and then add a reaction object.
modelObj = sbiomodel ('my_model');
Add a parameter to the model object (
modelObj
) withValue
0.5
.parameterObj1 = addparameter (modelObj, 'K1', 0.5)
MATLAB® returns:
SimBiology Parameter Array Index: Name: Value: ValueUnits: 1 K1 0.5