This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


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 toObject: reaction
Data typeCharacter vector
Data valuesCharacter vector containing a valid reaction. Default is '' (empty character vector).


  1. Create a model object, and then add a reaction object.

    modelObj = sbiomodel ('my_model');
    reactionObj = addreaction (modelObj, 'a + b -> c + d');
  2. Verify that the reaction property records the input.

    get (reactionObj, 'Reaction')

    MATLAB® returns:

    ans =
    a + b -> c + d

See Also