Main Content

ParameterVariables

Parameters in kinetic law definition

Description

The ParameterVariables property shows the parameter variables that are used in the Expression property of the abstract kinetic law object. Use this property to specify the parameters in the ReactionRate equation. Use the method set to assign ParameterVariables to a kinetic law definition. For more information, see Kinetic Law Definition.

Characteristics

Applies toObjects: abstract kinetic law, kineticlaw
Data typeCell array of character vectors
Data valuesSpecified by kinetic law definition
AccessRead/write in kinetic law definition. Read-only in kinetic law.

Examples

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 the 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. To set these variables:

    get (kineticlawObj, 'ParameterVariables')

    MATLAB® returns:

    ans = 
    
        'Vm' 'Km'