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'