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 to | Object: kineticlaw |
Data type | Cell array of character vectors |
Data values | Cell array of parameters |
Access | Read/write |
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 type 'Henri-Michaelis-Menten'
.
kineticlawObj = addkineticlaw(reactionObj, 'Henri-Michaelis-Menten');
reactionObj
KineticLaw
property
is configured to kineticlawObj
.
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');
Verify that the parameter variables are correct.
get (kineticlawObj, 'ParameterVariableNames')
MATLAB® returns:
ans = 'Va' 'Ka'