MATLAB_SBML_STRUCTURE_FUNCTIONS\PRIORITY
The functions allow users to create and work with the SBML Priority structure.
Function are:
Priority = Priority_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 Priority 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
math = Priority_getMath(SBMLPriority)
Takes
- SBMLPriority, an SBML Priority structure
Returns
- the value of the math attribute
metaid = Priority_getMetaid(SBMLPriority)
Takes
- SBMLPriority, an SBML Priority structure
Returns
- the value of the metaid attribute
sboTerm = Priority_getSBOTerm(SBMLPriority)
Takes
- SBMLPriority, an SBML Priority structure
Returns
- the value of the sboTerm attribute
value = Priority_isSetMath(SBMLPriority)
Takes
- SBMLPriority, an SBML Priority structure
Returns
- value =
- 1 if the math attribute is set
- 0 otherwise
value = Priority_isSetMetaid(SBMLPriority)
Takes
- SBMLPriority, an SBML Priority structure
Returns
- value =
- 1 if the metaid attribute is set
- 0 otherwise
value = Priority_isSetSBOTerm(SBMLPriority)
Takes
- SBMLPriority, an SBML Priority structure
Returns
- value =
- 1 if the sboTerm attribute is set
- 0 otherwise
SBMLPriority = Priority_setMath(SBMLPriority, math)
Takes
- SBMLPriority, an SBML Priority structure
- math; string representing the math expression math to be set
Returns
- the SBML Priority structure with the new value for the math attribute
SBMLPriority = Priority_setMetaid(SBMLPriority, metaid)
Takes
- SBMLPriority, an SBML Priority structure
- metaid; a string representing the metaid to be set
Returns
- the SBML Priority structure with the new value for the metaid attribute
SBMLPriority = Priority_setSBOTerm(SBMLPriority, sboTerm)
Takes
- SBMLPriority, an SBML Priority structure
- sboTerm, an integer representing the sboTerm to be set
Returns
- the SBML Priority structure with the new value for the sboTerm attribute
SBMLPriority = Priority_unsetMath(SBMLPriority)
Takes
- SBMLPriority, an SBML Priority structure
Returns
- the SBML Priority structure with the math attribute unset
SBMLPriority = Priority_unsetMetaid(SBMLPriority)
Takes
- SBMLPriority, an SBML Priority structure
Returns
- the SBML Priority structure with the metaid attribute unset
SBMLPriority = Priority_unsetSBOTerm(SBMLPriority)
Takes
- SBMLPriority, an SBML Priority structure
Returns
- the SBML Priority structure with the sboTerm attribute unset