MATLAB_SBML_STRUCTURE_FUNCTIONS\PARAMETERRULE
The functions allow users to create and work with the SBML ParameterRule structure.
Function are:
ParameterRule = ParameterRule_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 ParameterRule 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
formula = ParameterRule_getFormula(SBMLParameterRule)
Takes
- SBMLParameterRule, an SBML ParameterRule structure
Returns
- the value of the formula attribute
name = ParameterRule_getName(SBMLParameterRule)
Takes
- SBMLParameterRule, an SBML ParameterRule structure
Returns
- the value of the name attribute
type = ParameterRule_getType(SBMLParameterRule)
Takes
- SBMLParameterRule, an SBML ParameterRule structure
Returns
- the value of the type attribute
units = ParameterRule_getUnits(SBMLParameterRule)
Takes
- SBMLParameterRule, an SBML ParameterRule structure
Returns
- the value of the units attribute
value = ParameterRule_isSetFormula(SBMLParameterRule)
Takes
- SBMLParameterRule, an SBML ParameterRule structure
Returns
- value =
- 1 if the formula attribute is set
- 0 otherwise
value = ParameterRule_isSetName(SBMLParameterRule)
Takes
- SBMLParameterRule, an SBML ParameterRule structure
Returns
- value =
- 1 if the name attribute is set
- 0 otherwise
value = ParameterRule_isSetType(SBMLParameterRule)
Takes
- SBMLParameterRule, an SBML ParameterRule structure
Returns
- value =
- 1 if the type attribute is set
- 0 otherwise
value = ParameterRule_isSetUnits(SBMLParameterRule)
Takes
- SBMLParameterRule, an SBML ParameterRule structure
Returns
- value =
- 1 if the units attribute is set
- 0 otherwise
SBMLParameterRule = ParameterRule_setFormula(SBMLParameterRule, formula)
Takes
- SBMLParameterRule, an SBML ParameterRule structure
- formula; a string representing the formula to be set
Returns
- the SBML ParameterRule structure with the new value for the formula attribute
SBMLParameterRule = ParameterRule_setName(SBMLParameterRule, name)
Takes
- SBMLParameterRule, an SBML ParameterRule structure
- name; a string representing the name to be set
Returns
- the SBML ParameterRule structure with the new value for the name attribute
SBMLParameterRule = ParameterRule_setType(SBMLParameterRule, type)
Takes
- SBMLParameterRule, an SBML ParameterRule structure
- type; a string representing the type to be set
Returns
- the SBML ParameterRule structure with the new value for the type attribute
SBMLParameterRule = ParameterRule_setUnits(SBMLParameterRule, units)
Takes
- SBMLParameterRule, an SBML ParameterRule structure
- units; a string representing the units to be set
Returns
- the SBML ParameterRule structure with the new value for the units attribute
SBMLParameterRule = ParameterRule_unsetFormula(SBMLParameterRule)
Takes
- SBMLParameterRule, an SBML ParameterRule structure
Returns
- the SBML ParameterRule structure with the formula attribute unset
SBMLParameterRule = ParameterRule_unsetName(SBMLParameterRule)
Takes
- SBMLParameterRule, an SBML ParameterRule structure
Returns
- the SBML ParameterRule structure with the name attribute unset
SBMLParameterRule = ParameterRule_unsetType(SBMLParameterRule)
Takes
- SBMLParameterRule, an SBML ParameterRule structure
Returns
- the SBML ParameterRule structure with the type attribute unset
SBMLParameterRule = ParameterRule_unsetUnits(SBMLParameterRule)
Takes
- SBMLParameterRule, an SBML ParameterRule structure
Returns
- the SBML ParameterRule structure with the units attribute unset