| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → SimBiology |
| Contents | Index |
| Learn more about SimBiology |
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.
| Applies to | Objects: abstract kinetic law, kineticlaw |
| Data type | Cell array of strings |
| Data values | Defined by abstract kinetic law |
| Access | Read/write in abstract kinetic law. Read-only in kinetic law. |
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 to kineticlawObj.
View the species variable for'Henri-Michaelis-Menten' kinetic law.
get (kineticlawObj, 'SpeciesVariables')
MATLAB returns:
ans =
'S'Expression, ParameterVariables, ParameterVariableNames, ReactionRate, set, setparameter, SpeciesVariableNames
![]() | SpeciesVariableNames | StatesToLog | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |