MATLAB_SBML_STRUCTURE_FUNCTIONS\EVENTASSIGNMENT
The functions allow users to create and work with the SBML EventAssignment structure.
Function are:
EventAssignment = EventAssignment_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 EventAssignment 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 = EventAssignment_getMath(SBMLEventAssignment)
Takes
- SBMLEventAssignment, an SBML EventAssignment structure
Returns
- the value of the math attribute
metaid = EventAssignment_getMetaid(SBMLEventAssignment)
Takes
- SBMLEventAssignment, an SBML EventAssignment structure
Returns
- the value of the metaid attribute
sboTerm = EventAssignment_getSBOTerm(SBMLEventAssignment)
Takes
- SBMLEventAssignment, an SBML EventAssignment structure
Returns
- the value of the sboTerm attribute
variable = EventAssignment_getVariable(SBMLEventAssignment)
Takes
- SBMLEventAssignment, an SBML EventAssignment structure
Returns
- the value of the variable attribute
value = EventAssignment_isSetMath(SBMLEventAssignment)
Takes
- SBMLEventAssignment, an SBML EventAssignment structure
Returns
- value =
- 1 if the math attribute is set
- 0 otherwise
value = EventAssignment_isSetMetaid(SBMLEventAssignment)
Takes
- SBMLEventAssignment, an SBML EventAssignment structure
Returns
- value =
- 1 if the metaid attribute is set
- 0 otherwise
value = EventAssignment_isSetSBOTerm(SBMLEventAssignment)
Takes
- SBMLEventAssignment, an SBML EventAssignment structure
Returns
- value =
- 1 if the sboTerm attribute is set
- 0 otherwise
value = EventAssignment_isSetVariable(SBMLEventAssignment)
Takes
- SBMLEventAssignment, an SBML EventAssignment structure
Returns
- value =
- 1 if the variable attribute is set
- 0 otherwise
SBMLEventAssignment = EventAssignment_setMath(SBMLEventAssignment, math)
Takes
- SBMLEventAssignment, an SBML EventAssignment structure
- math; string representing the math expression math to be set
Returns
- the SBML EventAssignment structure with the new value for the math attribute
SBMLEventAssignment = EventAssignment_setMetaid(SBMLEventAssignment, metaid)
Takes
- SBMLEventAssignment, an SBML EventAssignment structure
- metaid; a string representing the metaid to be set
Returns
- the SBML EventAssignment structure with the new value for the metaid attribute
SBMLEventAssignment = EventAssignment_setSBOTerm(SBMLEventAssignment, sboTerm)
Takes
- SBMLEventAssignment, an SBML EventAssignment structure
- sboTerm, an integer representing the sboTerm to be set
Returns
- the SBML EventAssignment structure with the new value for the sboTerm attribute
SBMLEventAssignment = EventAssignment_setVariable(SBMLEventAssignment, variable)
Takes
- SBMLEventAssignment, an SBML EventAssignment structure
- variable; a string representing the variable to be set
Returns
- the SBML EventAssignment structure with the new value for the variable attribute
SBMLEventAssignment = EventAssignment_unsetMath(SBMLEventAssignment)
Takes
- SBMLEventAssignment, an SBML EventAssignment structure
Returns
- the SBML EventAssignment structure with the math attribute unset
SBMLEventAssignment = EventAssignment_unsetMetaid(SBMLEventAssignment)
Takes
- SBMLEventAssignment, an SBML EventAssignment structure
Returns
- the SBML EventAssignment structure with the metaid attribute unset
SBMLEventAssignment = EventAssignment_unsetSBOTerm(SBMLEventAssignment)
Takes
- SBMLEventAssignment, an SBML EventAssignment structure
Returns
- the SBML EventAssignment structure with the sboTerm attribute unset
SBMLEventAssignment = EventAssignment_unsetVariable(SBMLEventAssignment)
Takes
- SBMLEventAssignment, an SBML EventAssignment structure
Returns
- the SBML EventAssignment structure with the variable attribute unset