MATLAB_SBML_STRUCTURE_FUNCTIONS\ALGEBRAICRULE
The functions allow users to create and work with the SBML AlgebraicRule structure.
Function are:
AlgebraicRule = AlgebraicRule_create(level(optional), version(optional) )
Takes
- level, an integer representing an SBML level (optional)
- version, an integer representing an SBML version (optional)
Returns
- a MATLAB_SBML AlgebraicRule structure of the appropriate level and version
NOTE: the optional level and version preserve backwards compatibility
a missing version argument will default to L1V2; L2V4 or L3V1
missing both arguments will default to L3V1
formula = AlgebraicRule_getFormula(SBMLAlgebraicRule)
Takes
- SBMLAlgebraicRule, an SBML AlgebraicRule structure
Returns
- the value of the formula attribute
metaid = AlgebraicRule_getMetaid(SBMLAlgebraicRule)
Takes
- SBMLAlgebraicRule, an SBML AlgebraicRule structure
Returns
- the value of the metaid attribute
sboTerm = AlgebraicRule_getSBOTerm(SBMLAlgebraicRule)
Takes
- SBMLAlgebraicRule, an SBML AlgebraicRule structure
Returns
- the value of the sboTerm attribute
value = AlgebraicRule_isSetFormula(SBMLAlgebraicRule)
Takes
- SBMLAlgebraicRule, an SBML AlgebraicRule structure
Returns
- value =
- 1 if the formula attribute is set
- 0 otherwise
value = AlgebraicRule_isSetMetaid(SBMLAlgebraicRule)
Takes
- SBMLAlgebraicRule, an SBML AlgebraicRule structure
Returns
- value =
- 1 if the metaid attribute is set
- 0 otherwise
value = AlgebraicRule_isSetSBOTerm(SBMLAlgebraicRule)
Takes
- SBMLAlgebraicRule, an SBML AlgebraicRule structure
Returns
- value =
- 1 if the sboTerm attribute is set
- 0 otherwise
SBMLAlgebraicRule = AlgebraicRule_setFormula(SBMLAlgebraicRule, formula)
Takes
- SBMLAlgebraicRule, an SBML AlgebraicRule structure
- formula; a string representing the formula to be set
Returns
- the SBML AlgebraicRule structure with the new value for the formula attribute
SBMLAlgebraicRule = AlgebraicRule_setMetaid(SBMLAlgebraicRule, metaid)
Takes
- SBMLAlgebraicRule, an SBML AlgebraicRule structure
- metaid; a string representing the metaid to be set
Returns
- the SBML AlgebraicRule structure with the new value for the metaid attribute
SBMLAlgebraicRule = AlgebraicRule_setSBOTerm(SBMLAlgebraicRule, sboTerm)
Takes
- SBMLAlgebraicRule, an SBML AlgebraicRule structure
- sboTerm, an integer representing the sboTerm to be set
Returns
- the SBML AlgebraicRule structure with the new value for the sboTerm attribute
SBMLAlgebraicRule = AlgebraicRule_unsetFormula(SBMLAlgebraicRule)
Takes
- SBMLAlgebraicRule, an SBML AlgebraicRule structure
Returns
- the SBML AlgebraicRule structure with the formula attribute unset
SBMLAlgebraicRule = AlgebraicRule_unsetMetaid(SBMLAlgebraicRule)
Takes
- SBMLAlgebraicRule, an SBML AlgebraicRule structure
Returns
- the SBML AlgebraicRule structure with the metaid attribute unset
SBMLAlgebraicRule = AlgebraicRule_unsetSBOTerm(SBMLAlgebraicRule)
Takes
- SBMLAlgebraicRule, an SBML AlgebraicRule structure
Returns
- the SBML AlgebraicRule structure with the sboTerm attribute unset