Skip to Main Content Skip to Search
Product Documentation

Reactions - Array of reaction objects

Description

Property to indicate the reactions in a Model object. Read-only array of reaction objects.

A reaction object defines a chemical reaction that occurs between species. The species for the reaction are defined in the Model object property Species.

You can add a reaction to a model object with the method addreaction, and you can remove a reaction from the model object with the method delete.

Characteristics

Applies toObject: model
Data typeArray of reaction objects
Data valuesReaction object
AccessRead-only

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 reactions property records the input.

    get (modelObj, 'Reactions')

    MATLAB returns:

    SimBiology Reaction Array
    
     Index:    Reaction:
       1       a + b -> c + d

See Also

addreaction, delete, sbioreaction

  


Free Computational Biology Interactive Kit

See how to analyze, visualize, and model biological data and systems using MathWorks products.

Get free kit

Trials Available

Try the latest computational biology products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS