Array of reaction products
Products property contains an array of
Products is a
object array that indicates the species that are changed by the reaction.
Reaction property is modified to use a different
Products property is updated accordingly.
You can add product species to the reaction with
You can remove product species from the reaction with
You can also update reaction products by setting the
with the function
|Applies to||Object: reaction|
|Data type||Array of objects|
|Data values||Species objects. Default is |
Create a model object.
modelObj = sbiomodel ('my_model');
Add reaction objects.
reactionObj = addreaction (modelObj, 'a + b -> c + d');
Verify the assignment.
productsObj = get(reactionObj, 'Products')
SimBiology Species Array Index: Compartment: Name: InitialAmount: InitialAmountUnits: 1 unnamed c 0 2 unnamed d 0