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||char string|
|Data values||Valid reaction string. Default is '' (empty).|
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')
ans = a + b -> c + d