MATLAB_SBML_STRUCTURE_FUNCTIONS\FUNCTIONDEFINITION
The functions allow users to create and work with the SBML FunctionDefinition structure.
Function are:
FunctionDefinition = FunctionDefinition_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 FunctionDefinition 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
id = FunctionDefinition_getId(SBMLFunctionDefinition)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
Returns
- the value of the id attribute
math = FunctionDefinition_getMath(SBMLFunctionDefinition)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
Returns
- the value of the math attribute
metaid = FunctionDefinition_getMetaid(SBMLFunctionDefinition)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
Returns
- the value of the metaid attribute
name = FunctionDefinition_getName(SBMLFunctionDefinition)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
Returns
- the value of the name attribute
sboTerm = FunctionDefinition_getSBOTerm(SBMLFunctionDefinition)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
Returns
- the value of the sboTerm attribute
value = FunctionDefinition_isSetId(SBMLFunctionDefinition)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
Returns
- value =
- 1 if the id attribute is set
- 0 otherwise
value = FunctionDefinition_isSetMath(SBMLFunctionDefinition)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
Returns
- value =
- 1 if the math attribute is set
- 0 otherwise
value = FunctionDefinition_isSetMetaid(SBMLFunctionDefinition)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
Returns
- value =
- 1 if the metaid attribute is set
- 0 otherwise
value = FunctionDefinition_isSetName(SBMLFunctionDefinition)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
Returns
- value =
- 1 if the name attribute is set
- 0 otherwise
value = FunctionDefinition_isSetSBOTerm(SBMLFunctionDefinition)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
Returns
- value =
- 1 if the sboTerm attribute is set
- 0 otherwise
SBMLFunctionDefinition = FunctionDefinition_setId(SBMLFunctionDefinition, id)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
- id; a string representing the id to be set
Returns
- the SBML FunctionDefinition structure with the new value for the id attribute
SBMLFunctionDefinition = FunctionDefinition_setMath(SBMLFunctionDefinition, math)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
- math; string representing the math expression math to be set
Returns
- the SBML FunctionDefinition structure with the new value for the math attribute
SBMLFunctionDefinition = FunctionDefinition_setMetaid(SBMLFunctionDefinition, metaid)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
- metaid; a string representing the metaid to be set
Returns
- the SBML FunctionDefinition structure with the new value for the metaid attribute
SBMLFunctionDefinition = FunctionDefinition_setName(SBMLFunctionDefinition, name)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
- name; a string representing the name to be set
Returns
- the SBML FunctionDefinition structure with the new value for the name attribute
SBMLFunctionDefinition = FunctionDefinition_setSBOTerm(SBMLFunctionDefinition, sboTerm)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
- sboTerm, an integer representing the sboTerm to be set
Returns
- the SBML FunctionDefinition structure with the new value for the sboTerm attribute
SBMLFunctionDefinition = FunctionDefinition_unsetId(SBMLFunctionDefinition)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
Returns
- the SBML FunctionDefinition structure with the id attribute unset
SBMLFunctionDefinition = FunctionDefinition_unsetMath(SBMLFunctionDefinition)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
Returns
- the SBML FunctionDefinition structure with the math attribute unset
SBMLFunctionDefinition = FunctionDefinition_unsetMetaid(SBMLFunctionDefinition)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
Returns
- the SBML FunctionDefinition structure with the metaid attribute unset
SBMLFunctionDefinition = FunctionDefinition_unsetName(SBMLFunctionDefinition)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
Returns
- the SBML FunctionDefinition structure with the name attribute unset
SBMLFunctionDefinition = FunctionDefinition_unsetSBOTerm(SBMLFunctionDefinition)
Takes
- SBMLFunctionDefinition, an SBML FunctionDefinition structure
Returns
- the SBML FunctionDefinition structure with the sboTerm attribute unset