MATLAB_SBML_STRUCTURE_FUNCTIONS\ASSIGNMENTRULE
The functions allow users to create and work with the SBML AssignmentRule structure.
Function are:
AssignmentRule = AssignmentRule_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 AssignmentRule 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 = AssignmentRule_getFormula(SBMLAssignmentRule)
Takes
- SBMLAssignmentRule, an SBML AssignmentRule structure
Returns
- the value of the formula attribute
metaid = AssignmentRule_getMetaid(SBMLAssignmentRule)
Takes
- SBMLAssignmentRule, an SBML AssignmentRule structure
Returns
- the value of the metaid attribute
sboTerm = AssignmentRule_getSBOTerm(SBMLAssignmentRule)
Takes
- SBMLAssignmentRule, an SBML AssignmentRule structure
Returns
- the value of the sboTerm attribute
variable = AssignmentRule_getVariable(SBMLAssignmentRule)
Takes
- SBMLAssignmentRule, an SBML AssignmentRule structure
Returns
- the value of the variable attribute
value = AssignmentRule_isSetFormula(SBMLAssignmentRule)
Takes
- SBMLAssignmentRule, an SBML AssignmentRule structure
Returns
- value =
- 1 if the formula attribute is set
- 0 otherwise
value = AssignmentRule_isSetMetaid(SBMLAssignmentRule)
Takes
- SBMLAssignmentRule, an SBML AssignmentRule structure
Returns
- value =
- 1 if the metaid attribute is set
- 0 otherwise
value = AssignmentRule_isSetSBOTerm(SBMLAssignmentRule)
Takes
- SBMLAssignmentRule, an SBML AssignmentRule structure
Returns
- value =
- 1 if the sboTerm attribute is set
- 0 otherwise
value = AssignmentRule_isSetVariable(SBMLAssignmentRule)
Takes
- SBMLAssignmentRule, an SBML AssignmentRule structure
Returns
- value =
- 1 if the variable attribute is set
- 0 otherwise
SBMLAssignmentRule = AssignmentRule_setFormula(SBMLAssignmentRule, formula)
Takes
- SBMLAssignmentRule, an SBML AssignmentRule structure
- formula; a string representing the formula to be set
Returns
- the SBML AssignmentRule structure with the new value for the formula attribute
SBMLAssignmentRule = AssignmentRule_setMetaid(SBMLAssignmentRule, metaid)
Takes
- SBMLAssignmentRule, an SBML AssignmentRule structure
- metaid; a string representing the metaid to be set
Returns
- the SBML AssignmentRule structure with the new value for the metaid attribute
SBMLAssignmentRule = AssignmentRule_setSBOTerm(SBMLAssignmentRule, sboTerm)
Takes
- SBMLAssignmentRule, an SBML AssignmentRule structure
- sboTerm, an integer representing the sboTerm to be set
Returns
- the SBML AssignmentRule structure with the new value for the sboTerm attribute
SBMLAssignmentRule = AssignmentRule_setVariable(SBMLAssignmentRule, variable)
Takes
- SBMLAssignmentRule, an SBML AssignmentRule structure
- variable; a string representing the variable to be set
Returns
- the SBML AssignmentRule structure with the new value for the variable attribute
SBMLAssignmentRule = AssignmentRule_unsetFormula(SBMLAssignmentRule)
Takes
- SBMLAssignmentRule, an SBML AssignmentRule structure
Returns
- the SBML AssignmentRule structure with the formula attribute unset
SBMLAssignmentRule = AssignmentRule_unsetMetaid(SBMLAssignmentRule)
Takes
- SBMLAssignmentRule, an SBML AssignmentRule structure
Returns
- the SBML AssignmentRule structure with the metaid attribute unset
SBMLAssignmentRule = AssignmentRule_unsetSBOTerm(SBMLAssignmentRule)
Takes
- SBMLAssignmentRule, an SBML AssignmentRule structure
Returns
- the SBML AssignmentRule structure with the sboTerm attribute unset
SBMLAssignmentRule = AssignmentRule_unsetVariable(SBMLAssignmentRule)
Takes
- SBMLAssignmentRule, an SBML AssignmentRule structure
Returns
- the SBML AssignmentRule structure with the variable attribute unset