Skip to Main Content Skip to Search
Product Documentation

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

  


Free Computational Biology Interactive Kit

See how to analyze, visualize, and model biological data and systems using MathWorks products.

Get free kit

Trials Available

Try the latest computational biology products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS