Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

Reaction

Reaction object reaction

Description

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.

Characteristics

Applies toObject: reaction
Data typeCharacter vector
Data valuesCharacter vector containing a valid reaction. Default is '' (empty character vector).
AccessRead/write

Examples

  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

addreaction

Was this topic helpful?