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.


Cell array of reaction rate parameters


The ParameterVariableNames property shows the parameters used by the kinetic law object to determine the ReactionRate equation in the reaction object. Use setparameter to assign ParameterVariableNames. When you assign species to ParameterVariableNames, SimBiology® software maps these parameter names to ParameterVariables in the kinetic law object.

If the reaction is using a kinetic law, the ReactionRate property of a reaction object shows the result of a mapping from a Kinetic Law Definition. The ReactionRate is determined by the kinetic law object Expression property by mapping ParameterVariableNames to ParameterVariables and SpeciesVariableNames to SpeciesVariables.


Applies toObject: kineticlaw
Data typeCell array of character vectors
Data valuesCell array of parameters


Create a model, add a reaction, and assign the SpeciesVariableNames for the reaction rate equation.

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

    modelObj = sbiomodel('my_model');
    reactionObj = addreaction(modelObj, 'a -> c + d');
  2. Create a kinetic law object for the reaction object of type 'Henri-Michaelis-Menten'.

    kineticlawObj = addkineticlaw(reactionObj, 'Henri-Michaelis-Menten');

    reactionObj KineticLaw property is configured to kineticlawObj.

  3. The 'Henri-Michaelis-Menten' kinetic law has two parameter variables (Vm and Km) that should to be set. To set these variables:

    setparameter(kineticlawObj,'Vm', 'Va');
    setparameter(kineticlawObj,'Km', 'Ka');
  4. Verify that the parameter variables are correct.

    get (kineticlawObj, 'ParameterVariableNames')

    MATLAB® returns:

    ans = 
        'Va'    'Ka'