This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Assign value to parameter object


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.


Applies toObject: parameter
Data typedouble
Data values

Any double. Default value is 1.0.



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