Reaction object reaction
Property to indicate the reaction represented in the reaction
object. Indicates the chemical reaction that can change the amount
of one or more species, for example, 'A + B –>
C'
. This property is different from the model object property
called Reactions
.
See addreaction
for more
information on how the Reaction
property is set.
Applies to | Object: reaction |
Data type | Character vector |
Data values | Character vector containing a valid reaction. Default is '' (empty
character vector). |
Access | Read/write |
Create a model object, and then add a reaction object.
modelObj = sbiomodel ('my_model'); reactionObj = addreaction (modelObj, 'a + b -> c + d');
Verify that the reaction property records the input.
get (reactionObj, 'Reaction')
MATLAB® returns:
ans = a + b -> c + d