| MathSBML Home Page | MathSBML Site Map |
parameterToSBML[options] returns a <parameter.../> definition.
parameterToSBML[{{options}, {options},...}] returns a <listOfParameters../>>.
parameterToSymbolicSBML[options] returns Symbolic SBML for a <parameter.../> definition.
New in version 2.1.5. Revised in 2.6.0.
|
The following PROPOSED LEVEL 3 options are allowed if Arrays->True is set by the most recent call to newModel[]:
The following input expression will create a single parameter definition (linefeeds and indentation added to emphasize syntax):
parameterToSBML[id->"Pi", name->"pi", value->3.14]
and will produce the following output:
<parameter id="Pi" name="pi" value="3.14"/>
The following will generate a listOfParameters:
parameterToSBML[{
{id->"pi", value->3.14},
{id->"e", value->2.718},
{id->"E", name->"Enzyme_Concentration",constant->"false",value->1}
}]
returns the following string:
<listOfParameters> <parameter id="pi" name="pi" value="3.14"/> <parameter id="e" name="e" value="2.718"/> <parameter id="E" name="Enzyme_Concentration" value="1" constant="false"/> </listOfParameters>Additional line feeds and indentation may be inserted by the program as it deems necessary.