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 function set
to assign SpeciesVariables
to an abstract kinetic
law. For more information, see abstract kinetic law.
Characteristics
Applies to | Objects: abstract kinetic law, kineticlaw |
Data type | Cell array of character vectors |
Data values | Defined by abstract kinetic law |
Access | Read/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.
Create a model object, and then add a reaction object.
modelObj = sbiomodel('my_model'); reactionObj = addreaction(modelObj, 'a -> c + d');
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 tokineticlawObj
.View the species variable for
'Henri-Michaelis-Menten'
kinetic law.get (kineticlawObj, 'SpeciesVariables')
MATLAB® returns:
ans = 'S'