| 1 | <style type='text/css'> |
| 2 | /*/*/ /*<![CDATA[*/ |
| 3 | @import "../style.css"; |
| 4 | /*]]>*/ /* */ |
| 5 | </style> |
| 6 | |
| 7 | <h3>MATLAB_SBML_STRUCTURE_FUNCTIONS\SPECIESCONCENTRATIONRULE</h3> |
| 8 | |
| 9 | <p>The functions allow users to create and work with the SBML SpeciesConcentrationRule structure.</p> |
| 10 | |
| 11 | <p>Function are:</p> |
| 12 | |
| 13 | <hr> |
| 14 | |
| 15 | <h4>SpeciesConcentrationRule = SpeciesConcentrationRule_create(level(optional), version(optional) )</h4> |
| 16 | |
| 17 | <p>Takes</p> |
| 18 | |
| 19 | <ol> |
| 20 | <li>level, an integer representing an SBML level (optional)</li> |
| 21 | <li>version, an integer representing an SBML version (optional)</li> |
| 22 | </ol> |
| 23 | |
| 24 | <p>Returns</p> |
| 25 | |
| 26 | <ol> |
| 27 | <li>a MATLAB_SBML SpeciesConcentrationRule structure of the appropriate level and version</li> |
| 28 | </ol> |
| 29 | |
| 30 | <p><em>NOTE:</em> the optional level and version preserve backwards compatibility |
| 31 | a missing version argument will default to L1V2; L2V4 or L3V1 |
| 32 | missing both arguments will default to L3V1</p> |
| 33 | |
| 34 | <hr> |
| 35 | |
| 36 | <h4>formula = SpeciesConcentrationRule_getFormula(SBMLSpeciesConcentrationRule)</h4> |
| 37 | |
| 38 | <p>Takes</p> |
| 39 | |
| 40 | <ol> |
| 41 | <li>SBMLSpeciesConcentrationRule, an SBML SpeciesConcentrationRule structure</li> |
| 42 | </ol> |
| 43 | |
| 44 | <p>Returns</p> |
| 45 | |
| 46 | <ol> |
| 47 | <li>the value of the formula attribute</li> |
| 48 | </ol> |
| 49 | |
| 50 | <hr> |
| 51 | |
| 52 | <h4>species = SpeciesConcentrationRule_getSpecies(SBMLSpeciesConcentrationRule)</h4> |
| 53 | |
| 54 | <p>Takes</p> |
| 55 | |
| 56 | <ol> |
| 57 | <li>SBMLSpeciesConcentrationRule, an SBML SpeciesConcentrationRule structure</li> |
| 58 | </ol> |
| 59 | |
| 60 | <p>Returns</p> |
| 61 | |
| 62 | <ol> |
| 63 | <li>the value of the species attribute</li> |
| 64 | </ol> |
| 65 | |
| 66 | <hr> |
| 67 | |
| 68 | <h4>type = SpeciesConcentrationRule_getType(SBMLSpeciesConcentrationRule)</h4> |
| 69 | |
| 70 | <p>Takes</p> |
| 71 | |
| 72 | <ol> |
| 73 | <li>SBMLSpeciesConcentrationRule, an SBML SpeciesConcentrationRule structure</li> |
| 74 | </ol> |
| 75 | |
| 76 | <p>Returns</p> |
| 77 | |
| 78 | <ol> |
| 79 | <li>the value of the type attribute</li> |
| 80 | </ol> |
| 81 | |
| 82 | <hr> |
| 83 | |
| 84 | <h4>value = SpeciesConcentrationRule_isSetFormula(SBMLSpeciesConcentrationRule)</h4> |
| 85 | |
| 86 | <p>Takes</p> |
| 87 | |
| 88 | <ol> |
| 89 | <li>SBMLSpeciesConcentrationRule, an SBML SpeciesConcentrationRule structure</li> |
| 90 | </ol> |
| 91 | |
| 92 | <p>Returns</p> |
| 93 | |
| 94 | <ol> |
| 95 | <li>value = |
| 96 | <ul> |
| 97 | <li>1 if the formula attribute is set</li> |
| 98 | <li>0 otherwise</li> |
| 99 | </ul></li> |
| 100 | </ol> |
| 101 | |
| 102 | <hr> |
| 103 | |
| 104 | <h4>value = SpeciesConcentrationRule_isSetSpecies(SBMLSpeciesConcentrationRule)</h4> |
| 105 | |
| 106 | <p>Takes</p> |
| 107 | |
| 108 | <ol> |
| 109 | <li>SBMLSpeciesConcentrationRule, an SBML SpeciesConcentrationRule structure</li> |
| 110 | </ol> |
| 111 | |
| 112 | <p>Returns</p> |
| 113 | |
| 114 | <ol> |
| 115 | <li>value = |
| 116 | <ul> |
| 117 | <li>1 if the species attribute is set</li> |
| 118 | <li>0 otherwise</li> |
| 119 | </ul></li> |
| 120 | </ol> |
| 121 | |
| 122 | <hr> |
| 123 | |
| 124 | <h4>value = SpeciesConcentrationRule_isSetType(SBMLSpeciesConcentrationRule)</h4> |
| 125 | |
| 126 | <p>Takes</p> |
| 127 | |
| 128 | <ol> |
| 129 | <li>SBMLSpeciesConcentrationRule, an SBML SpeciesConcentrationRule structure</li> |
| 130 | </ol> |
| 131 | |
| 132 | <p>Returns</p> |
| 133 | |
| 134 | <ol> |
| 135 | <li>value = |
| 136 | <ul> |
| 137 | <li>1 if the type attribute is set</li> |
| 138 | <li>0 otherwise</li> |
| 139 | </ul></li> |
| 140 | </ol> |
| 141 | |
| 142 | <hr> |
| 143 | |
| 144 | <h4>SBMLSpeciesConcentrationRule = SpeciesConcentrationRule_setFormula(SBMLSpeciesConcentrationRule, formula)</h4> |
| 145 | |
| 146 | <p>Takes</p> |
| 147 | |
| 148 | <ol> |
| 149 | <li>SBMLSpeciesConcentrationRule, an SBML SpeciesConcentrationRule structure</li> |
| 150 | <li>formula; a string representing the formula to be set</li> |
| 151 | </ol> |
| 152 | |
| 153 | <p>Returns</p> |
| 154 | |
| 155 | <ol> |
| 156 | <li>the SBML SpeciesConcentrationRule structure with the new value for the formula attribute</li> |
| 157 | </ol> |
| 158 | |
| 159 | <hr> |
| 160 | |
| 161 | <h4>SBMLSpeciesConcentrationRule = SpeciesConcentrationRule_setSpecies(SBMLSpeciesConcentrationRule, species)</h4> |
| 162 | |
| 163 | <p>Takes</p> |
| 164 | |
| 165 | <ol> |
| 166 | <li>SBMLSpeciesConcentrationRule, an SBML SpeciesConcentrationRule structure</li> |
| 167 | <li>species; a string representing the species to be set</li> |
| 168 | </ol> |
| 169 | |
| 170 | <p>Returns</p> |
| 171 | |
| 172 | <ol> |
| 173 | <li>the SBML SpeciesConcentrationRule structure with the new value for the species attribute</li> |
| 174 | </ol> |
| 175 | |
| 176 | <hr> |
| 177 | |
| 178 | <h4>SBMLSpeciesConcentrationRule = SpeciesConcentrationRule_setType(SBMLSpeciesConcentrationRule, type)</h4> |
| 179 | |
| 180 | <p>Takes</p> |
| 181 | |
| 182 | <ol> |
| 183 | <li>SBMLSpeciesConcentrationRule, an SBML SpeciesConcentrationRule structure</li> |
| 184 | <li>type; a string representing the type to be set</li> |
| 185 | </ol> |
| 186 | |
| 187 | <p>Returns</p> |
| 188 | |
| 189 | <ol> |
| 190 | <li>the SBML SpeciesConcentrationRule structure with the new value for the type attribute</li> |
| 191 | </ol> |
| 192 | |
| 193 | <hr> |
| 194 | |
| 195 | <h4>SBMLSpeciesConcentrationRule = SpeciesConcentrationRule_unsetFormula(SBMLSpeciesConcentrationRule)</h4> |
| 196 | |
| 197 | <p>Takes</p> |
| 198 | |
| 199 | <ol> |
| 200 | <li>SBMLSpeciesConcentrationRule, an SBML SpeciesConcentrationRule structure</li> |
| 201 | </ol> |
| 202 | |
| 203 | <p>Returns</p> |
| 204 | |
| 205 | <ol> |
| 206 | <li>the SBML SpeciesConcentrationRule structure with the formula attribute unset</li> |
| 207 | </ol> |
| 208 | |
| 209 | <hr> |
| 210 | |
| 211 | <h4>SBMLSpeciesConcentrationRule = SpeciesConcentrationRule_unsetSpecies(SBMLSpeciesConcentrationRule)</h4> |
| 212 | |
| 213 | <p>Takes</p> |
| 214 | |
| 215 | <ol> |
| 216 | <li>SBMLSpeciesConcentrationRule, an SBML SpeciesConcentrationRule structure</li> |
| 217 | </ol> |
| 218 | |
| 219 | <p>Returns</p> |
| 220 | |
| 221 | <ol> |
| 222 | <li>the SBML SpeciesConcentrationRule structure with the species attribute unset</li> |
| 223 | </ol> |
| 224 | |
| 225 | <hr> |
| 226 | |
| 227 | <h4>SBMLSpeciesConcentrationRule = SpeciesConcentrationRule_unsetType(SBMLSpeciesConcentrationRule)</h4> |
| 228 | |
| 229 | <p>Takes</p> |
| 230 | |
| 231 | <ol> |
| 232 | <li>SBMLSpeciesConcentrationRule, an SBML SpeciesConcentrationRule structure</li> |
| 233 | </ol> |
| 234 | |
| 235 | <p>Returns</p> |
| 236 | |
| 237 | <ol> |
| 238 | <li>the SBML SpeciesConcentrationRule structure with the type attribute unset</li> |
| 239 | </ol> |
| 240 | |
| 241 | <hr> |
| 242 | |
| 243 | <h4>SBMLSpeciesConcentrationRule = SpeciesConcentrationRule_unsetVariable(SBMLSpeciesConcentrationRule)</h4> |
| 244 | |
| 245 | <p>Takes</p> |
| 246 | |
| 247 | <ol> |
| 248 | <li>SBMLSpeciesConcentrationRule, an SBML SpeciesConcentrationRule structure</li> |
| 249 | </ol> |
| 250 | |
| 251 | <p>Returns</p> |
| 252 | |
| 253 | <ol> |
| 254 | <li>the SBML SpeciesConcentrationRule structure with the variable attribute unset</li> |
| 255 | </ol> |
| 256 | |
| 257 | <hr> |