MATLAB_SBML_STRUCTURE_FUNCTIONS\INITIALASSIGNMENT
The functions allow users to create and work with the SBML InitialAssignment structure.
Function are:
InitialAssignment = InitialAssignment_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 InitialAssignment 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 = InitialAssignment_getMath(SBMLInitialAssignment)
Takes
- SBMLInitialAssignment, an SBML InitialAssignment structure
Returns
- the value of the math attribute
metaid = InitialAssignment_getMetaid(SBMLInitialAssignment)
Takes
- SBMLInitialAssignment, an SBML InitialAssignment structure
Returns
- the value of the metaid attribute
sboTerm = InitialAssignment_getSBOTerm(SBMLInitialAssignment)
Takes
- SBMLInitialAssignment, an SBML InitialAssignment structure
Returns
- the value of the sboTerm attribute
symbol = InitialAssignment_getSymbol(SBMLInitialAssignment)
Takes
- SBMLInitialAssignment, an SBML InitialAssignment structure
Returns
- the value of the symbol attribute
value = InitialAssignment_isSetMath(SBMLInitialAssignment)
Takes
- SBMLInitialAssignment, an SBML InitialAssignment structure
Returns
- value =
- 1 if the math attribute is set
- 0 otherwise
value = InitialAssignment_isSetMetaid(SBMLInitialAssignment)
Takes
- SBMLInitialAssignment, an SBML InitialAssignment structure
Returns
- value =
- 1 if the metaid attribute is set
- 0 otherwise
value = InitialAssignment_isSetSBOTerm(SBMLInitialAssignment)
Takes
- SBMLInitialAssignment, an SBML InitialAssignment structure
Returns
- value =
- 1 if the sboTerm attribute is set
- 0 otherwise
value = InitialAssignment_isSetSymbol(SBMLInitialAssignment)
Takes
- SBMLInitialAssignment, an SBML InitialAssignment structure
Returns
- value =
- 1 if the symbol attribute is set
- 0 otherwise
SBMLInitialAssignment = InitialAssignment_setMath(SBMLInitialAssignment, math)
Takes
- SBMLInitialAssignment, an SBML InitialAssignment structure
- math; string representing the math expression math to be set
Returns
- the SBML InitialAssignment structure with the new value for the math attribute
SBMLInitialAssignment = InitialAssignment_setMetaid(SBMLInitialAssignment, metaid)
Takes
- SBMLInitialAssignment, an SBML InitialAssignment structure
- metaid; a string representing the metaid to be set
Returns
- the SBML InitialAssignment structure with the new value for the metaid attribute
SBMLInitialAssignment = InitialAssignment_setSBOTerm(SBMLInitialAssignment, sboTerm)
Takes
- SBMLInitialAssignment, an SBML InitialAssignment structure
- sboTerm, an integer representing the sboTerm to be set
Returns
- the SBML InitialAssignment structure with the new value for the sboTerm attribute
SBMLInitialAssignment = InitialAssignment_setSymbol(SBMLInitialAssignment, symbol)
Takes
- SBMLInitialAssignment, an SBML InitialAssignment structure
- symbol; a string representing the symbol to be set
Returns
- the SBML InitialAssignment structure with the new value for the symbol attribute
SBMLInitialAssignment = InitialAssignment_unsetMath(SBMLInitialAssignment)
Takes
- SBMLInitialAssignment, an SBML InitialAssignment structure
Returns
- the SBML InitialAssignment structure with the math attribute unset
SBMLInitialAssignment = InitialAssignment_unsetMetaid(SBMLInitialAssignment)
Takes
- SBMLInitialAssignment, an SBML InitialAssignment structure
Returns
- the SBML InitialAssignment structure with the metaid attribute unset
SBMLInitialAssignment = InitialAssignment_unsetSBOTerm(SBMLInitialAssignment)
Takes
- SBMLInitialAssignment, an SBML InitialAssignment structure
Returns
- the SBML InitialAssignment structure with the sboTerm attribute unset
SBMLInitialAssignment = InitialAssignment_unsetSymbol(SBMLInitialAssignment)
Takes
- SBMLInitialAssignment, an SBML InitialAssignment structure
Returns
- the SBML InitialAssignment structure with the symbol attribute unset