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

  1. level, an integer representing an SBML level (optional)
  2. version, an integer representing an SBML version (optional)

Returns

  1. 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

  1. SBMLEventAssignment, an SBML EventAssignment structure

Returns

  1. the value of the math attribute

metaid = EventAssignment_getMetaid(SBMLEventAssignment)

Takes

  1. SBMLEventAssignment, an SBML EventAssignment structure

Returns

  1. the value of the metaid attribute

sboTerm = EventAssignment_getSBOTerm(SBMLEventAssignment)

Takes

  1. SBMLEventAssignment, an SBML EventAssignment structure

Returns

  1. the value of the sboTerm attribute

variable = EventAssignment_getVariable(SBMLEventAssignment)

Takes

  1. SBMLEventAssignment, an SBML EventAssignment structure

Returns

  1. the value of the variable attribute

value = EventAssignment_isSetMath(SBMLEventAssignment)

Takes

  1. SBMLEventAssignment, an SBML EventAssignment structure

Returns

  1. value =

value = EventAssignment_isSetMetaid(SBMLEventAssignment)

Takes

  1. SBMLEventAssignment, an SBML EventAssignment structure

Returns

  1. value =

value = EventAssignment_isSetSBOTerm(SBMLEventAssignment)

Takes

  1. SBMLEventAssignment, an SBML EventAssignment structure

Returns

  1. value =

value = EventAssignment_isSetVariable(SBMLEventAssignment)

Takes

  1. SBMLEventAssignment, an SBML EventAssignment structure

Returns

  1. value =

SBMLEventAssignment = EventAssignment_setMath(SBMLEventAssignment, math)

Takes

  1. SBMLEventAssignment, an SBML EventAssignment structure
  2. math; string representing the math expression math to be set

Returns

  1. the SBML EventAssignment structure with the new value for the math attribute

SBMLEventAssignment = EventAssignment_setMetaid(SBMLEventAssignment, metaid)

Takes

  1. SBMLEventAssignment, an SBML EventAssignment structure
  2. metaid; a string representing the metaid to be set

Returns

  1. the SBML EventAssignment structure with the new value for the metaid attribute

SBMLEventAssignment = EventAssignment_setSBOTerm(SBMLEventAssignment, sboTerm)

Takes

  1. SBMLEventAssignment, an SBML EventAssignment structure
  2. sboTerm, an integer representing the sboTerm to be set

Returns

  1. the SBML EventAssignment structure with the new value for the sboTerm attribute

SBMLEventAssignment = EventAssignment_setVariable(SBMLEventAssignment, variable)

Takes

  1. SBMLEventAssignment, an SBML EventAssignment structure
  2. variable; a string representing the variable to be set

Returns

  1. the SBML EventAssignment structure with the new value for the variable attribute

SBMLEventAssignment = EventAssignment_unsetMath(SBMLEventAssignment)

Takes

  1. SBMLEventAssignment, an SBML EventAssignment structure

Returns

  1. the SBML EventAssignment structure with the math attribute unset

SBMLEventAssignment = EventAssignment_unsetMetaid(SBMLEventAssignment)

Takes

  1. SBMLEventAssignment, an SBML EventAssignment structure

Returns

  1. the SBML EventAssignment structure with the metaid attribute unset

SBMLEventAssignment = EventAssignment_unsetSBOTerm(SBMLEventAssignment)

Takes

  1. SBMLEventAssignment, an SBML EventAssignment structure

Returns

  1. the SBML EventAssignment structure with the sboTerm attribute unset

SBMLEventAssignment = EventAssignment_unsetVariable(SBMLEventAssignment)

Takes

  1. SBMLEventAssignment, an SBML EventAssignment structure

Returns

  1. the SBML EventAssignment structure with the variable attribute unset