MATLAB_SBML_STRUCTURE_FUNCTIONS\SPECIESTYPE
The functions allow users to create and work with the SBML SpeciesType structure.
Function are:
SpeciesType = SpeciesType_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 SpeciesType 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 = SpeciesType_getId(SBMLSpeciesType)
Takes
- SBMLSpeciesType, an SBML SpeciesType structure
Returns
- the value of the id attribute
metaid = SpeciesType_getMetaid(SBMLSpeciesType)
Takes
- SBMLSpeciesType, an SBML SpeciesType structure
Returns
- the value of the metaid attribute
name = SpeciesType_getName(SBMLSpeciesType)
Takes
- SBMLSpeciesType, an SBML SpeciesType structure
Returns
- the value of the name attribute
sboTerm = SpeciesType_getSBOTerm(SBMLSpeciesType)
Takes
- SBMLSpeciesType, an SBML SpeciesType structure
Returns
- the value of the sboTerm attribute
value = SpeciesType_isSetId(SBMLSpeciesType)
Takes
- SBMLSpeciesType, an SBML SpeciesType structure
Returns
- value =
- 1 if the id attribute is set
- 0 otherwise
value = SpeciesType_isSetMetaid(SBMLSpeciesType)
Takes
- SBMLSpeciesType, an SBML SpeciesType structure
Returns
- value =
- 1 if the metaid attribute is set
- 0 otherwise
value = SpeciesType_isSetName(SBMLSpeciesType)
Takes
- SBMLSpeciesType, an SBML SpeciesType structure
Returns
- value =
- 1 if the name attribute is set
- 0 otherwise
value = SpeciesType_isSetSBOTerm(SBMLSpeciesType)
Takes
- SBMLSpeciesType, an SBML SpeciesType structure
Returns
- value =
- 1 if the sboTerm attribute is set
- 0 otherwise
SBMLSpeciesType = SpeciesType_setId(SBMLSpeciesType, id)
Takes
- SBMLSpeciesType, an SBML SpeciesType structure
- id; a string representing the id to be set
Returns
- the SBML SpeciesType structure with the new value for the id attribute
SBMLSpeciesType = SpeciesType_setMetaid(SBMLSpeciesType, metaid)
Takes
- SBMLSpeciesType, an SBML SpeciesType structure
- metaid; a string representing the metaid to be set
Returns
- the SBML SpeciesType structure with the new value for the metaid attribute
SBMLSpeciesType = SpeciesType_setName(SBMLSpeciesType, name)
Takes
- SBMLSpeciesType, an SBML SpeciesType structure
- name; a string representing the name to be set
Returns
- the SBML SpeciesType structure with the new value for the name attribute
SBMLSpeciesType = SpeciesType_setSBOTerm(SBMLSpeciesType, sboTerm)
Takes
- SBMLSpeciesType, an SBML SpeciesType structure
- sboTerm, an integer representing the sboTerm to be set
Returns
- the SBML SpeciesType structure with the new value for the sboTerm attribute
SBMLSpeciesType = SpeciesType_unsetId(SBMLSpeciesType)
Takes
- SBMLSpeciesType, an SBML SpeciesType structure
Returns
- the SBML SpeciesType structure with the id attribute unset
SBMLSpeciesType = SpeciesType_unsetMetaid(SBMLSpeciesType)
Takes
- SBMLSpeciesType, an SBML SpeciesType structure
Returns
- the SBML SpeciesType structure with the metaid attribute unset
SBMLSpeciesType = SpeciesType_unsetName(SBMLSpeciesType)
Takes
- SBMLSpeciesType, an SBML SpeciesType structure
Returns
- the SBML SpeciesType structure with the name attribute unset
SBMLSpeciesType = SpeciesType_unsetSBOTerm(SBMLSpeciesType)
Takes
- SBMLSpeciesType, an SBML SpeciesType structure
Returns
- the SBML SpeciesType structure with the sboTerm attribute unset