| Contents | Index |
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 strings |
| 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'Expression(AbstractKineticLaw, KineticLaw), ParameterVariables, ReactionRate, setparameter, SpeciesVariables, SpeciesVariableNames

See how to analyze, visualize, and model biological data and systems using MathWorks products.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |