MathSBML

MathSBML Home Page MathSBML Site Map

MathSBML Model Builder: add/remove/modifyconstraint


addconstraint[options] adds a constraint to the current model. Options are the same as constraintToSBML.

addconstraint[x, options] is the same as addconstraint[id→x, options].

modifyconstraint[options] modifies a compartment type in the current model. Options are the same as constraintToSBML.

modifyconstraint[x, options] is the same as modifyconstraint[id→x, options].

removeconstraint[id] removes a compartment type with the given id from the current model.

addconstraint, removeconstraint, modifyconstraint new in 2.6.
Compartment types were added in Level 2, Version 2. They may not be used in earlier versions of SBML.

Example

HTML | Mathematica Notebook