MATLAB_SBML_STRUCTURE_FUNCTIONS\SPECIES
The functions allow users to create and work with the SBML Species structure.
Function are:
Species = Species_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 Species 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
boundaryCondition = Species_getBoundaryCondition(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the value of the boundaryCondition attribute
charge = Species_getCharge(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the value of the charge attribute
compartment = Species_getCompartment(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the value of the compartment attribute
constant = Species_getConstant(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the value of the constant attribute
conversionFactor = Species_getConversionFactor(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the value of the conversionFactor attribute
hasOnlySubstanceUnits = Species_getHasOnlySubstanceUnits(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the value of the hasOnlySubstanceUnits attribute
id = Species_getId(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the value of the id attribute
initialAmount = Species_getInitialAmount(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the value of the initialAmount attribute
initialConcentration = Species_getInitialConcentration(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the value of the initialConcentration attribute
metaid = Species_getMetaid(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the value of the metaid attribute
name = Species_getName(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the value of the name attribute
sboTerm = Species_getSBOTerm(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the value of the sboTerm attribute
spatialSizeUnits = Species_getSpatialSizeUnits(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the value of the spatialSizeUnits attribute
speciesType = Species_getSpeciesType(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the value of the speciesType attribute
substanceUnits = Species_getSubstanceUnits(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the value of the substanceUnits attribute
units = Species_getUnits(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the value of the units attribute
y = Species_isAssignedByRateRule(SBMLSpecies, SBMLRules)
Takes
- SBMLSpecies, an SBML Species structure
- SBMLRules; the array of rules from an SBML Model structure
Returns
y =
- the index of the rateRule used to assigned value to the Species
- 0 if the Species is not assigned by rateRule
!---------------------------------------------------------------------------
This file is part of SBMLToolbox. Please visit http://sbml.org for more
information about SBML, and the latest version of SBMLToolbox.
Copyright (C) 2009-2016 jointly by the following organizations:
1. California Institute of Technology, Pasadena, CA, USA
2. EMBL European Bioinformatics Institute (EBML-EBI), Hinxton, UK
Copyright (C) 2006-2008 jointly by the following organizations:
1. California Institute of Technology, Pasadena, CA, USA
2. University of Hertfordshire, Hatfield, UK
Copyright (C) 2003-2005 jointly by the following organizations:
1. California Institute of Technology, Pasadena, CA, USA
2. Japan Science and Technology Agency, Japan
3. University of Hertfordshire, Hatfield, UK
SBMLToolbox is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation. A copy of the license agreement is provided
in the file named "LICENSE.txt" included with this software distribution.
---------------------------------------------------------------------- -->
y = Species_isAssignedByRule(SBMLSpecies, SBMLRules)
Takes
- SBMLSpecies, an SBML Species structure
- SBMLRules; the array of rules from an SBML Model structure
Returns
y =
- the index of the assignmentRule used to assigned value to the Species
- 0 if the Species is not assigned by assignmentRule
!---------------------------------------------------------------------------
This file is part of SBMLToolbox. Please visit http://sbml.org for more
information about SBML, and the latest version of SBMLToolbox.
Copyright (C) 2009-2016 jointly by the following organizations:
1. California Institute of Technology, Pasadena, CA, USA
2. EMBL European Bioinformatics Institute (EBML-EBI), Hinxton, UK
Copyright (C) 2006-2008 jointly by the following organizations:
1. California Institute of Technology, Pasadena, CA, USA
2. University of Hertfordshire, Hatfield, UK
Copyright (C) 2003-2005 jointly by the following organizations:
1. California Institute of Technology, Pasadena, CA, USA
2. Japan Science and Technology Agency, Japan
3. University of Hertfordshire, Hatfield, UK
SBMLToolbox is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation. A copy of the license agreement is provided
in the file named "LICENSE.txt" included with this software distribution.
---------------------------------------------------------------------- -->
y = Species_isInAlgebraicRule(SBMLSpecies, SBMLRules)
Takes
- SBMLSpecies, an SBML Species structure
- SBMLRules; the array of rules from an SBML Model structure
Returns
y =
- an array of the indices of any algebraicRules the id of the Species appears in
- 0 if the Species appears in no algebraicRules
!---------------------------------------------------------------------------
This file is part of SBMLToolbox. Please visit http://sbml.org for more
information about SBML, and the latest version of SBMLToolbox.
Copyright (C) 2009-2016 jointly by the following organizations:
1. California Institute of Technology, Pasadena, CA, USA
2. EMBL European Bioinformatics Institute (EBML-EBI), Hinxton, UK
Copyright (C) 2006-2008 jointly by the following organizations:
1. California Institute of Technology, Pasadena, CA, USA
2. University of Hertfordshire, Hatfield, UK
Copyright (C) 2003-2005 jointly by the following organizations:
1. California Institute of Technology, Pasadena, CA, USA
2. Japan Science and Technology Agency, Japan
3. University of Hertfordshire, Hatfield, UK
SBMLToolbox is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation. A copy of the license agreement is provided
in the file named "LICENSE.txt" included with this software distribution.
---------------------------------------------------------------------- -->
value = Species_isSetCharge(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- value =
- 1 if the charge attribute is set
- 0 otherwise
value = Species_isSetCompartment(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- value =
- 1 if the compartment attribute is set
- 0 otherwise
value = Species_isSetConversionFactor(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- value =
- 1 if the conversionFactor attribute is set
- 0 otherwise
value = Species_isSetHasOnlySubstanceUnits(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- value =
- 1 if the hasOnlySubstanceUnits attribute is set
- 0 otherwise
value = Species_isSetId(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- value =
- 1 if the id attribute is set
- 0 otherwise
value = Species_isSetInitialAmount(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- value =
- 1 if the initialAmount attribute is set
- 0 otherwise
value = Species_isSetInitialConcentration(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- value =
- 1 if the initialConcentration attribute is set
- 0 otherwise
value = Species_isSetMetaid(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- value =
- 1 if the metaid attribute is set
- 0 otherwise
value = Species_isSetName(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- value =
- 1 if the name attribute is set
- 0 otherwise
value = Species_isSetSBOTerm(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- value =
- 1 if the sboTerm attribute is set
- 0 otherwise
value = Species_isSetSpatialSizeUnits(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- value =
- 1 if the spatialSizeUnits attribute is set
- 0 otherwise
value = Species_isSetSpeciesType(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- value =
- 1 if the speciesType attribute is set
- 0 otherwise
value = Species_isSetSubstanceUnits(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- value =
- 1 if the substanceUnits attribute is set
- 0 otherwise
value = Species_isSetUnits(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- value =
- 1 if the units attribute is set
- 0 otherwise
SBMLSpecies = Species_setBoundaryCondition(SBMLSpecies, boundaryCondition)
Takes
- SBMLSpecies, an SBML Species structure
- boundaryCondition, an integer (0/1) representing the value of boundaryCondition to be set
Returns
- the SBML Species structure with the new value for the boundaryCondition attribute
SBMLSpecies = Species_setCharge(SBMLSpecies, charge)
Takes
- SBMLSpecies, an SBML Species structure
- charge, an integer representing the charge to be set
Returns
- the SBML Species structure with the new value for the charge attribute
SBMLSpecies = Species_setCompartment(SBMLSpecies, compartment)
Takes
- SBMLSpecies, an SBML Species structure
- compartment; a string representing the compartment to be set
Returns
- the SBML Species structure with the new value for the compartment attribute
SBMLSpecies = Species_setConstant(SBMLSpecies, constant)
Takes
- SBMLSpecies, an SBML Species structure
- constant, an integer (0/1) representing the value of constant to be set
Returns
- the SBML Species structure with the new value for the constant attribute
SBMLSpecies = Species_setConversionFactor(SBMLSpecies, conversionFactor)
Takes
- SBMLSpecies, an SBML Species structure
- conversionFactor; a string representing the conversionFactor to be set
Returns
- the SBML Species structure with the new value for the conversionFactor attribute
SBMLSpecies = Species_setHasOnlySubstanceUnits(SBMLSpecies, hasOnlySubstanceUnits)
Takes
- SBMLSpecies, an SBML Species structure
- hasOnlySubstanceUnits, an integer (0/1) representing the value of hasOnlySubstanceUnits to be set
Returns
- the SBML Species structure with the new value for the hasOnlySubstanceUnits attribute
SBMLSpecies = Species_setId(SBMLSpecies, id)
Takes
- SBMLSpecies, an SBML Species structure
- id; a string representing the id to be set
Returns
- the SBML Species structure with the new value for the id attribute
SBMLSpecies = Species_setInitialAmount(SBMLSpecies, initialAmount)
Takes
- SBMLSpecies, an SBML Species structure
- initialAmount; number representing the value of initialAmount to be set
Returns
- the SBML Species structure with the new value for the initialAmount attribute
SBMLSpecies = Species_setInitialConcentration(SBMLSpecies, initialConcentration)
Takes
- SBMLSpecies, an SBML Species structure
- initialConcentration; number representing the value of initialConcentration to be set
Returns
- the SBML Species structure with the new value for the initialConcentration attribute
SBMLSpecies = Species_setMetaid(SBMLSpecies, metaid)
Takes
- SBMLSpecies, an SBML Species structure
- metaid; a string representing the metaid to be set
Returns
- the SBML Species structure with the new value for the metaid attribute
SBMLSpecies = Species_setName(SBMLSpecies, name)
Takes
- SBMLSpecies, an SBML Species structure
- name; a string representing the name to be set
Returns
- the SBML Species structure with the new value for the name attribute
SBMLSpecies = Species_setSBOTerm(SBMLSpecies, sboTerm)
Takes
- SBMLSpecies, an SBML Species structure
- sboTerm, an integer representing the sboTerm to be set
Returns
- the SBML Species structure with the new value for the sboTerm attribute
SBMLSpecies = Species_setSpatialSizeUnits(SBMLSpecies, spatialSizeUnits)
Takes
- SBMLSpecies, an SBML Species structure
- spatialSizeUnits; a string representing the spatialSizeUnits to be set
Returns
- the SBML Species structure with the new value for the spatialSizeUnits attribute
SBMLSpecies = Species_setSpeciesType(SBMLSpecies, speciesType)
Takes
- SBMLSpecies, an SBML Species structure
- speciesType; a string representing the speciesType to be set
Returns
- the SBML Species structure with the new value for the speciesType attribute
SBMLSpecies = Species_setSubstanceUnits(SBMLSpecies, substanceUnits)
Takes
- SBMLSpecies, an SBML Species structure
- substanceUnits; a string representing the substanceUnits to be set
Returns
- the SBML Species structure with the new value for the substanceUnits attribute
SBMLSpecies = Species_setUnits(SBMLSpecies, units)
Takes
- SBMLSpecies, an SBML Species structure
- units; a string representing the units to be set
Returns
- the SBML Species structure with the new value for the units attribute
SBMLSpecies = Species_unsetCharge(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the SBML Species structure with the charge attribute unset
SBMLSpecies = Species_unsetCompartment(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the SBML Species structure with the compartment attribute unset
SBMLSpecies = Species_unsetConversionFactor(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the SBML Species structure with the conversionFactor attribute unset
SBMLSpecies = Species_unsetId(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the SBML Species structure with the id attribute unset
SBMLSpecies = Species_unsetInitialAmount(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the SBML Species structure with the initialAmount attribute unset
SBMLSpecies = Species_unsetInitialConcentration(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the SBML Species structure with the initialConcentration attribute unset
SBMLSpecies = Species_unsetMetaid(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the SBML Species structure with the metaid attribute unset
SBMLSpecies = Species_unsetName(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the SBML Species structure with the name attribute unset
SBMLSpecies = Species_unsetSBOTerm(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the SBML Species structure with the sboTerm attribute unset
SBMLSpecies = Species_unsetSpatialSizeUnits(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the SBML Species structure with the spatialSizeUnits attribute unset
SBMLSpecies = Species_unsetSpeciesType(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the SBML Species structure with the speciesType attribute unset
SBMLSpecies = Species_unsetSubstanceUnits(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the SBML Species structure with the substanceUnits attribute unset
SBMLSpecies = Species_unsetUnits(SBMLSpecies)
Takes
- SBMLSpecies, an SBML Species structure
Returns
- the SBML Species structure with the units attribute unset