| MathSBML Home Page | MathSBML Site Map |
compartmentToSBML[options] returns a <compartment .../> definition.
compartmentToSBML[{{options},{options},...}] returns a <listOfCompartments.../> where each option list corresponds to a single <compartment .../> definition.
compartmentToSymbolicSBML[options] returns Symbolic SBML for a <compartment .../> definition.
New in version 2.1.5. Modified in 2.3.0, 2.6.0.
Experimental OptionsIf Arrays->True is set by an call to newModel[]: ArrayDimensions->{i->{min,max},j->{min,max},...} or {} (default). |
compartmentToSBML[id-> c1,name->"boundary_layer", spatialDimension->2]returns the string
<compartment id="c1" name="boundarylayer" spatialDimension="2"/>
compartmentToSBML[{{id->"c1", size-> 5},
{id->"c2", spatialDimension-> 2},
{id->"c3",name-> "unsized_compartment_3"}}]
returns
<listOfCompartments> <compartment id="c1" name="c1" size="5"/> <compartment id="c2" name="c2" spatialDimension="2"/> <compartment id="c3" name="unsized_compartment_3"/> </listOfCompartments>"Go to the top of this page