| Contents | Index |
Property to indicate the reactions in a Model object. Read-only array of reaction objects.
A reaction object defines a chemical reaction that occurs between species. The species for the reaction are defined in the Model object property Species.
You can add a reaction to a model object with the method addreaction, and you can remove a reaction from the model object with the method delete.
| Applies to | Object: model |
| Data type | Array of reaction objects |
| Data values | Reaction object |
| Access | Read-only |
Create a model object, and then add a reaction object.
modelObj = sbiomodel ('my_model'); reactionObj = addreaction (modelObj, 'a + b -> c + d');
Verify that the reactions property records the input.
get (modelObj, 'Reactions')MATLAB returns:
SimBiology Reaction Array Index: Reaction: 1 a + b -> c + d
addreaction, delete, sbioreaction

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 |