Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

findUsages (AbstractKineticLaw)

Find out how an AbstractKineticLaw object is used

Syntax

rxnList= findUsages(aklObj,model)

Description

rxnList= findUsages(aklObj,model) returns a vector of reactions in model that use the AbstractKineticLaw object aklObj. For details of what SimBiology® checks to decide whether an abstract kinetic law is used, see Component Usage.

Input Arguments

collapse all

Abstract kinetic law, specified as a AbstractKineticLaw object.

SimBiology model, specified as a model object, or vector of model objects.

Output Arguments

collapse all

List of reactions that use aklObj, returned as a vector of reaction objects.

Examples

collapse all

Load a sample project.

sbioloadproject gprotein.sbproj

List all reactions in the model that use the MassAction abstract kinetic law.

akl = sbioselect('Type','abstract_kinetic_law','Name','MassAction');
list = findUsages(akl,m1)
   SimBiology Reaction Array

   Index:    Reaction:
   1         L + R <-> RL
   2         Gd + Gbg -> G
   3         G + RL -> Ga + Gbg + RL
   4         R <-> null
   5         RL -> null
   6         Ga -> Gd

Introduced in R2016b

Was this topic helpful?