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

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

Returns

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

  1. SBMLSpeciesType, an SBML SpeciesType structure

Returns

  1. the value of the id attribute

metaid = SpeciesType_getMetaid(SBMLSpeciesType)

Takes

  1. SBMLSpeciesType, an SBML SpeciesType structure

Returns

  1. the value of the metaid attribute

name = SpeciesType_getName(SBMLSpeciesType)

Takes

  1. SBMLSpeciesType, an SBML SpeciesType structure

Returns

  1. the value of the name attribute

sboTerm = SpeciesType_getSBOTerm(SBMLSpeciesType)

Takes

  1. SBMLSpeciesType, an SBML SpeciesType structure

Returns

  1. the value of the sboTerm attribute

value = SpeciesType_isSetId(SBMLSpeciesType)

Takes

  1. SBMLSpeciesType, an SBML SpeciesType structure

Returns

  1. value =

value = SpeciesType_isSetMetaid(SBMLSpeciesType)

Takes

  1. SBMLSpeciesType, an SBML SpeciesType structure

Returns

  1. value =

value = SpeciesType_isSetName(SBMLSpeciesType)

Takes

  1. SBMLSpeciesType, an SBML SpeciesType structure

Returns

  1. value =

value = SpeciesType_isSetSBOTerm(SBMLSpeciesType)

Takes

  1. SBMLSpeciesType, an SBML SpeciesType structure

Returns

  1. value =

SBMLSpeciesType = SpeciesType_setId(SBMLSpeciesType, id)

Takes

  1. SBMLSpeciesType, an SBML SpeciesType structure
  2. id; a string representing the id to be set

Returns

  1. the SBML SpeciesType structure with the new value for the id attribute

SBMLSpeciesType = SpeciesType_setMetaid(SBMLSpeciesType, metaid)

Takes

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

Returns

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

SBMLSpeciesType = SpeciesType_setName(SBMLSpeciesType, name)

Takes

  1. SBMLSpeciesType, an SBML SpeciesType structure
  2. name; a string representing the name to be set

Returns

  1. the SBML SpeciesType structure with the new value for the name attribute

SBMLSpeciesType = SpeciesType_setSBOTerm(SBMLSpeciesType, sboTerm)

Takes

  1. SBMLSpeciesType, an SBML SpeciesType structure
  2. sboTerm, an integer representing the sboTerm to be set

Returns

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

SBMLSpeciesType = SpeciesType_unsetId(SBMLSpeciesType)

Takes

  1. SBMLSpeciesType, an SBML SpeciesType structure

Returns

  1. the SBML SpeciesType structure with the id attribute unset

SBMLSpeciesType = SpeciesType_unsetMetaid(SBMLSpeciesType)

Takes

  1. SBMLSpeciesType, an SBML SpeciesType structure

Returns

  1. the SBML SpeciesType structure with the metaid attribute unset

SBMLSpeciesType = SpeciesType_unsetName(SBMLSpeciesType)

Takes

  1. SBMLSpeciesType, an SBML SpeciesType structure

Returns

  1. the SBML SpeciesType structure with the name attribute unset

SBMLSpeciesType = SpeciesType_unsetSBOTerm(SBMLSpeciesType)

Takes

  1. SBMLSpeciesType, an SBML SpeciesType structure

Returns

  1. the SBML SpeciesType structure with the sboTerm attribute unset