MATLABSBMLSTRUCTURE_FUNCTIONS\EVENT
The functions allow users to create and work with the SBML Event structure.
Function are:
SBMLEvent = Event_addEventAssignment(SBMLEvent, SBMLEventAssignment)
Takes
- SBMLEvent, an SBML Event structure
- SBMLEventAssignment, an SBML EventAssignment structure
Returns
- the SBML Event structure with the SBML EventAssignment structure added
Event = Event_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 Event 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
SBMLEvent = Event_createDelay(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the SBML Event structure with a new SBML Delay structure added
SBMLEvent = Event_acreateEventAssignment(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the SBML Event structure with a new SBML EventAssignment structure added
SBMLEvent = Event_createPriority(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the SBML Event structure with a new SBML Priority structure added
SBMLEvent = Event_createTrigger(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the SBML Event structure with a new SBML Trigger structure added
delay = Event_getDelay(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the SBML Delay structure
eventAssignment = Event_getEventAssignment(SBMLEvent, index)
Takes
- SBMLEvent, an SBML Event structure
- index, an integer representing the index of SBML EventAssignment structure
Returns
- the SBML EventAssignment structure at the indexed position
id = Event_getId(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the value of the id attribute
eventAssignment = Event_getListOfEventAssignments(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- an array of the eventAssignment structures
metaid = Event_getMetaid(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the value of the metaid attribute
name = Event_getName(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the value of the name attribute
num = Event_getNumEventAssignments(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the number of SBML EventAssignment structures present in the Event
priority = Event_getPriority(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the SBML Priority structure
sboTerm = Event_getSBOTerm(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the value of the sboTerm attribute
timeUnits = Event_getTimeUnits(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the value of the timeUnits attribute
trigger = Event_getTrigger(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the SBML Trigger structure
useValuesFromTriggerTime = Event_getUseValuesFromTriggerTime(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the value of the useValuesFromTriggerTime attribute
value = Event_isSetDelay(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- value =
- 1 if the delay structure is set
- 0 otherwise
value = Event_isSetId(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- value =
- 1 if the id attribute is set
- 0 otherwise
value = Event_isSetMetaid(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- value =
- 1 if the metaid attribute is set
- 0 otherwise
value = Event_isSetName(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- value =
- 1 if the name attribute is set
- 0 otherwise
value = Event_isSetPriority(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- value =
- 1 if the priority structure is set
- 0 otherwise
value = Event_isSetSBOTerm(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- value =
- 1 if the sboTerm attribute is set
- 0 otherwise
value = Event_isSetTimeUnits(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- value =
- 1 if the timeUnits attribute is set
- 0 otherwise
value = Event_isSetTrigger(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- value =
- 1 if the trigger structure is set
- 0 otherwise
SBMLEvent = Event_setDelay(SBMLEvent, SBMLDelay)
Takes
- SBMLEvent, an SBML Event structure
- SBMLDelay, an SBML Delay structure
Returns
- the SBML Event structure with the new value for the delay field
SBMLEvent = Event_setId(SBMLEvent, id)
Takes
- SBMLEvent, an SBML Event structure
- id; a string representing the id to be set
Returns
- the SBML Event structure with the new value for the id attribute
SBMLEvent = Event_setMetaid(SBMLEvent, metaid)
Takes
- SBMLEvent, an SBML Event structure
- metaid; a string representing the metaid to be set
Returns
- the SBML Event structure with the new value for the metaid attribute
SBMLEvent = Event_setName(SBMLEvent, name)
Takes
- SBMLEvent, an SBML Event structure
- name; a string representing the name to be set
Returns
- the SBML Event structure with the new value for the name attribute
SBMLEvent = Event_setPriority(SBMLEvent, SBMLPriority)
Takes
- SBMLEvent, an SBML Event structure
- SBMLPriority, an SBML Priority structure
Returns
- the SBML Event structure with the new value for the priority field
SBMLEvent = Event_setSBOTerm(SBMLEvent, sboTerm)
Takes
- SBMLEvent, an SBML Event structure
- sboTerm, an integer representing the sboTerm to be set
Returns
- the SBML Event structure with the new value for the sboTerm attribute
SBMLEvent = Event_setTimeUnits(SBMLEvent, timeUnits)
Takes
- SBMLEvent, an SBML Event structure
- timeUnits; a string representing the timeUnits to be set
Returns
- the SBML Event structure with the new value for the timeUnits attribute
SBMLEvent = Event_setTrigger(SBMLEvent, SBMLTrigger)
Takes
- SBMLEvent, an SBML Event structure
- SBMLTrigger, an SBML Trigger structure
Returns
- the SBML Event structure with the new value for the trigger field
SBMLEvent = Event_setUseValuesFromTriggerTime(SBMLEvent, useValuesFromTriggerTime)
Takes
- SBMLEvent, an SBML Event structure
- useValuesFromTriggerTime, an integer (0/1) representing the value of useValuesFromTriggerTime to be set
Returns
- the SBML Event structure with the new value for the useValuesFromTriggerTime attribute
SBMLEvent = Event_unsetDelay(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the SBML Event structure with the delay field unset
SBMLEvent = Event_unsetId(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the SBML Event structure with the id attribute unset
SBMLEvent = Event_unsetMetaid(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the SBML Event structure with the metaid attribute unset
SBMLEvent = Event_unsetName(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the SBML Event structure with the name attribute unset
SBMLEvent = Event_unsetPriority(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the SBML Event structure with the priority field unset
SBMLEvent = Event_unsetSBOTerm(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the SBML Event structure with the sboTerm attribute unset
SBMLEvent = Event_unsetTimeUnits(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the SBML Event structure with the timeUnits attribute unset
SBMLEvent = Event_unsetTrigger(SBMLEvent)
Takes
- SBMLEvent, an SBML Event structure
Returns
- the SBML Event structure with the trigger field unset