Value

Assign value to parameter object

Description

The Value property is the value of the parameter object. The 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.

Characteristics

Applies toObject: parameter
Data typedouble
Data values

Any double. Default value is 1.0.

AccessRead/write

Examples

Assign a parameter with a value to the model object.

  1. Create a model object, and then add a reaction object.

    modelObj = sbiomodel ('my_model');
  2. Add a parameter to the model object (modelObj) with Value 0.5.

    parameterObj1 = addparameter (modelObj, 'K1', 0.5)

    MATLAB® returns:

    SimBiology Parameter Array
    
    Index:    Name:    Value:    ValueUnits:
     1         K1       0.5         

See Also

addparameter