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.

SpeciesVariables

Species in abstract kinetic law

Description

This property shows species variables that are used in the Expression property of the kinetic law object to determine the ReactionRate equation in the reaction object. Use the MATLAB® function set to assign SpeciesVariables to an abstract kinetic law. For more information, see abstract kinetic law.

Characteristics

Applies toObjects: abstract kinetic law, kineticlaw
Data typeCell array of character vectors
Data valuesDefined by abstract kinetic law
AccessRead/write in abstract kinetic law. 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. View the species variable for'Henri-Michaelis-Menten' kinetic law.

    get (kineticlawObj, 'SpeciesVariables')

    MATLAB returns:

    ans = 
    
        'S'