| 1 | <style type='text/css'> |
| 2 | /*/*/ /*<![CDATA[*/ |
| 3 | @import "../style.css"; |
| 4 | /*]]>*/ /* */ |
| 5 | </style> |
| 6 | |
| 7 | <h3>MATLAB_SBML_STRUCTURE_FUNCTIONS\PARAMETERRULE</h3> |
| 8 | |
| 9 | <p>The functions allow users to create and work with the SBML ParameterRule structure.</p> |
| 10 | |
| 11 | <p>Function are:</p> |
| 12 | |
| 13 | <hr> |
| 14 | |
| 15 | <h4>ParameterRule = ParameterRule_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 ParameterRule 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 = ParameterRule_getFormula(SBMLParameterRule)</h4> |
| 37 | |
| 38 | <p>Takes</p> |
| 39 | |
| 40 | <ol> |
| 41 | <li>SBMLParameterRule, an SBML ParameterRule 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>name = ParameterRule_getName(SBMLParameterRule)</h4> |
| 53 | |
| 54 | <p>Takes</p> |
| 55 | |
| 56 | <ol> |
| 57 | <li>SBMLParameterRule, an SBML ParameterRule structure</li> |
| 58 | </ol> |
| 59 | |
| 60 | <p>Returns</p> |
| 61 | |
| 62 | <ol> |
| 63 | <li>the value of the name attribute</li> |
| 64 | </ol> |
| 65 | |
| 66 | <hr> |
| 67 | |
| 68 | <h4>type = ParameterRule_getType(SBMLParameterRule)</h4> |
| 69 | |
| 70 | <p>Takes</p> |
| 71 | |
| 72 | <ol> |
| 73 | <li>SBMLParameterRule, an SBML ParameterRule 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>units = ParameterRule_getUnits(SBMLParameterRule)</h4> |
| 85 | |
| 86 | <p>Takes</p> |
| 87 | |
| 88 | <ol> |
| 89 | <li>SBMLParameterRule, an SBML ParameterRule structure</li> |
| 90 | </ol> |
| 91 | |
| 92 | <p>Returns</p> |
| 93 | |
| 94 | <ol> |
| 95 | <li>the value of the units attribute</li> |
| 96 | </ol> |
| 97 | |
| 98 | <hr> |
| 99 | |
| 100 | <h4>value = ParameterRule_isSetFormula(SBMLParameterRule)</h4> |
| 101 | |
| 102 | <p>Takes</p> |
| 103 | |
| 104 | <ol> |
| 105 | <li>SBMLParameterRule, an SBML ParameterRule structure</li> |
| 106 | </ol> |
| 107 | |
| 108 | <p>Returns</p> |
| 109 | |
| 110 | <ol> |
| 111 | <li>value = |
| 112 | <ul> |
| 113 | <li>1 if the formula attribute is set</li> |
| 114 | <li>0 otherwise</li> |
| 115 | </ul></li> |
| 116 | </ol> |
| 117 | |
| 118 | <hr> |
| 119 | |
| 120 | <h4>value = ParameterRule_isSetName(SBMLParameterRule)</h4> |
| 121 | |
| 122 | <p>Takes</p> |
| 123 | |
| 124 | <ol> |
| 125 | <li>SBMLParameterRule, an SBML ParameterRule structure</li> |
| 126 | </ol> |
| 127 | |
| 128 | <p>Returns</p> |
| 129 | |
| 130 | <ol> |
| 131 | <li>value = |
| 132 | <ul> |
| 133 | <li>1 if the name attribute is set</li> |
| 134 | <li>0 otherwise</li> |
| 135 | </ul></li> |
| 136 | </ol> |
| 137 | |
| 138 | <hr> |
| 139 | |
| 140 | <h4>value = ParameterRule_isSetType(SBMLParameterRule)</h4> |
| 141 | |
| 142 | <p>Takes</p> |
| 143 | |
| 144 | <ol> |
| 145 | <li>SBMLParameterRule, an SBML ParameterRule structure</li> |
| 146 | </ol> |
| 147 | |
| 148 | <p>Returns</p> |
| 149 | |
| 150 | <ol> |
| 151 | <li>value = |
| 152 | <ul> |
| 153 | <li>1 if the type attribute is set</li> |
| 154 | <li>0 otherwise</li> |
| 155 | </ul></li> |
| 156 | </ol> |
| 157 | |
| 158 | <hr> |
| 159 | |
| 160 | <h4>value = ParameterRule_isSetUnits(SBMLParameterRule)</h4> |
| 161 | |
| 162 | <p>Takes</p> |
| 163 | |
| 164 | <ol> |
| 165 | <li>SBMLParameterRule, an SBML ParameterRule structure</li> |
| 166 | </ol> |
| 167 | |
| 168 | <p>Returns</p> |
| 169 | |
| 170 | <ol> |
| 171 | <li>value = |
| 172 | <ul> |
| 173 | <li>1 if the units attribute is set</li> |
| 174 | <li>0 otherwise</li> |
| 175 | </ul></li> |
| 176 | </ol> |
| 177 | |
| 178 | <hr> |
| 179 | |
| 180 | <h4>SBMLParameterRule = ParameterRule_setFormula(SBMLParameterRule, formula)</h4> |
| 181 | |
| 182 | <p>Takes</p> |
| 183 | |
| 184 | <ol> |
| 185 | <li>SBMLParameterRule, an SBML ParameterRule structure</li> |
| 186 | <li>formula; a string representing the formula to be set</li> |
| 187 | </ol> |
| 188 | |
| 189 | <p>Returns</p> |
| 190 | |
| 191 | <ol> |
| 192 | <li>the SBML ParameterRule structure with the new value for the formula attribute</li> |
| 193 | </ol> |
| 194 | |
| 195 | <hr> |
| 196 | |
| 197 | <h4>SBMLParameterRule = ParameterRule_setName(SBMLParameterRule, name)</h4> |
| 198 | |
| 199 | <p>Takes</p> |
| 200 | |
| 201 | <ol> |
| 202 | <li>SBMLParameterRule, an SBML ParameterRule structure</li> |
| 203 | <li>name; a string representing the name to be set</li> |
| 204 | </ol> |
| 205 | |
| 206 | <p>Returns</p> |
| 207 | |
| 208 | <ol> |
| 209 | <li>the SBML ParameterRule structure with the new value for the name attribute</li> |
| 210 | </ol> |
| 211 | |
| 212 | <hr> |
| 213 | |
| 214 | <h4>SBMLParameterRule = ParameterRule_setType(SBMLParameterRule, type)</h4> |
| 215 | |
| 216 | <p>Takes</p> |
| 217 | |
| 218 | <ol> |
| 219 | <li>SBMLParameterRule, an SBML ParameterRule structure</li> |
| 220 | <li>type; a string representing the type to be set</li> |
| 221 | </ol> |
| 222 | |
| 223 | <p>Returns</p> |
| 224 | |
| 225 | <ol> |
| 226 | <li>the SBML ParameterRule structure with the new value for the type attribute</li> |
| 227 | </ol> |
| 228 | |
| 229 | <hr> |
| 230 | |
| 231 | <h4>SBMLParameterRule = ParameterRule_setUnits(SBMLParameterRule, units)</h4> |
| 232 | |
| 233 | <p>Takes</p> |
| 234 | |
| 235 | <ol> |
| 236 | <li>SBMLParameterRule, an SBML ParameterRule structure</li> |
| 237 | <li>units; a string representing the units to be set</li> |
| 238 | </ol> |
| 239 | |
| 240 | <p>Returns</p> |
| 241 | |
| 242 | <ol> |
| 243 | <li>the SBML ParameterRule structure with the new value for the units attribute</li> |
| 244 | </ol> |
| 245 | |
| 246 | <hr> |
| 247 | |
| 248 | <h4>SBMLParameterRule = ParameterRule_unsetFormula(SBMLParameterRule)</h4> |
| 249 | |
| 250 | <p>Takes</p> |
| 251 | |
| 252 | <ol> |
| 253 | <li>SBMLParameterRule, an SBML ParameterRule structure</li> |
| 254 | </ol> |
| 255 | |
| 256 | <p>Returns</p> |
| 257 | |
| 258 | <ol> |
| 259 | <li>the SBML ParameterRule structure with the formula attribute unset</li> |
| 260 | </ol> |
| 261 | |
| 262 | <hr> |
| 263 | |
| 264 | <h4>SBMLParameterRule = ParameterRule_unsetName(SBMLParameterRule)</h4> |
| 265 | |
| 266 | <p>Takes</p> |
| 267 | |
| 268 | <ol> |
| 269 | <li>SBMLParameterRule, an SBML ParameterRule structure</li> |
| 270 | </ol> |
| 271 | |
| 272 | <p>Returns</p> |
| 273 | |
| 274 | <ol> |
| 275 | <li>the SBML ParameterRule structure with the name attribute unset</li> |
| 276 | </ol> |
| 277 | |
| 278 | <hr> |
| 279 | |
| 280 | <h4>SBMLParameterRule = ParameterRule_unsetType(SBMLParameterRule)</h4> |
| 281 | |
| 282 | <p>Takes</p> |
| 283 | |
| 284 | <ol> |
| 285 | <li>SBMLParameterRule, an SBML ParameterRule structure</li> |
| 286 | </ol> |
| 287 | |
| 288 | <p>Returns</p> |
| 289 | |
| 290 | <ol> |
| 291 | <li>the SBML ParameterRule structure with the type attribute unset</li> |
| 292 | </ol> |
| 293 | |
| 294 | <hr> |
| 295 | |
| 296 | <h4>SBMLParameterRule = ParameterRule_unsetUnits(SBMLParameterRule)</h4> |
| 297 | |
| 298 | <p>Takes</p> |
| 299 | |
| 300 | <ol> |
| 301 | <li>SBMLParameterRule, an SBML ParameterRule structure</li> |
| 302 | </ol> |
| 303 | |
| 304 | <p>Returns</p> |
| 305 | |
| 306 | <ol> |
| 307 | <li>the SBML ParameterRule structure with the units attribute unset</li> |
| 308 | </ol> |
| 309 | |
| 310 | <hr> |