Array of reaction reactants
The Reactants property is a 1-by-n species object array of reactants in the reaction. If the Reaction property is modified to use a different reactant, the Reactants property will be updated accordingly.
You can add reactant species to the reaction with the addreactant method.
You can remove reactant species from the reaction with the rmreactant method. You can also update reactants by setting the Reaction property with the function set.
|Applies to||Object: reaction|
|Data type||Species object or array of species objects|
|Data values||Species objects. Default is  (empty).|
Create a model object.
modelObj = sbiomodel ('my_model');
Add reaction objects.
reactionObj = addreaction (modelObj, 'a + b -> c + d');
View the reactants for reactionObj.
SimBiology Species Array Index: Compartment: Name: InitialAmount: InitialAmountUnits: 1 unnamed a 0 2 unnamed b 0