addspecies
Create species object and add to model or compartment
Syntax
Description
creates and returns a speciesObj = addspecies(modelCompartmentObj,speciesName)Species object speciesObj.
The function also assigns
speciesNameto theNameproperty ofspeciesObj.modelCompartmentObjto theParentproperty ofspeciesObj.speciesObjto theSpeciesproperty of the model object or compartment objectmodelCompartmentObj.A value of 0 to the
Valueproperty ofspeciesObj.
also assigns the speciesObj = addspecies(modelCompartmentObj,speciesName,initialValue)Value property of speciesObj to
initialValue.
also sets the properties of speciesObj = addspecies(___,Name=Value)speciesObj using one or more name-value
arguments. Name is the property name and Value is the
corresponding value.