| 1 | <h3>MATLAB<em>SBML</em>STRUCTURE_FUNCTIONS\KINETICLAW</h3> |
| 2 | |
| 3 | <p>The functions allow users to create and work with the SBML KineticLaw structure.</p> |
| 4 | |
| 5 | <p>Function are:</p> |
| 6 | |
| 7 | <hr> |
| 8 | |
| 9 | <h4>SBMLKineticLaw = KineticLaw_addLocalParameter(SBMLKineticLaw, SBMLLocalParameter)</h4> |
| 10 | |
| 11 | <p>Takes</p> |
| 12 | |
| 13 | <ol> |
| 14 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 15 | <li>SBMLLocalParameter, an SBML LocalParameter structure</li> |
| 16 | </ol> |
| 17 | |
| 18 | <p>Returns</p> |
| 19 | |
| 20 | <ol> |
| 21 | <li>the SBML KineticLaw structure with the SBML LocalParameter structure added</li> |
| 22 | </ol> |
| 23 | |
| 24 | <hr> |
| 25 | |
| 26 | <h4>SBMLKineticLaw = KineticLaw_addParameter(SBMLKineticLaw, SBMLParameter)</h4> |
| 27 | |
| 28 | <p>Takes</p> |
| 29 | |
| 30 | <ol> |
| 31 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 32 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 33 | </ol> |
| 34 | |
| 35 | <p>Returns</p> |
| 36 | |
| 37 | <ol> |
| 38 | <li>the SBML KineticLaw structure with the SBML Parameter structure added</li> |
| 39 | </ol> |
| 40 | |
| 41 | <hr> |
| 42 | |
| 43 | <h4>KineticLaw = KineticLaw_create(level(optional), version(optional) )</h4> |
| 44 | |
| 45 | <p>Takes</p> |
| 46 | |
| 47 | <ol> |
| 48 | <li>level, an integer representing an SBML level (optional)</li> |
| 49 | <li>version, an integer representing an SBML version (optional)</li> |
| 50 | </ol> |
| 51 | |
| 52 | <p>Returns</p> |
| 53 | |
| 54 | <ol> |
| 55 | <li>a MATLAB_SBML KineticLaw structure of the appropriate level and version</li> |
| 56 | </ol> |
| 57 | |
| 58 | <p><em>NOTE:</em> the optional level and version preserve backwards compatibility |
| 59 | a missing version argument will default to L1V2; L2V4 or L3V1 |
| 60 | missing both arguments will default to L3V1</p> |
| 61 | |
| 62 | <hr> |
| 63 | |
| 64 | <h4>SBMLKineticLaw = KineticLaw_createLocalParameter(SBMLKineticLaw)</h4> |
| 65 | |
| 66 | <p>Takes</p> |
| 67 | |
| 68 | <ol> |
| 69 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 70 | </ol> |
| 71 | |
| 72 | <p>Returns</p> |
| 73 | |
| 74 | <ol> |
| 75 | <li>the SBML KineticLaw structure with a new SBML LocalParameter structure added</li> |
| 76 | </ol> |
| 77 | |
| 78 | <hr> |
| 79 | |
| 80 | <h4>SBMLKineticLaw = KineticLaw_createParameter(SBMLKineticLaw)</h4> |
| 81 | |
| 82 | <p>Takes</p> |
| 83 | |
| 84 | <ol> |
| 85 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 86 | </ol> |
| 87 | |
| 88 | <p>Returns</p> |
| 89 | |
| 90 | <ol> |
| 91 | <li>the SBML KineticLaw structure with a new SBML Parameter structure added</li> |
| 92 | </ol> |
| 93 | |
| 94 | <hr> |
| 95 | |
| 96 | <h4>formula = KineticLaw_getFormula(SBMLKineticLaw)</h4> |
| 97 | |
| 98 | <p>Takes</p> |
| 99 | |
| 100 | <ol> |
| 101 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 102 | </ol> |
| 103 | |
| 104 | <p>Returns</p> |
| 105 | |
| 106 | <ol> |
| 107 | <li>the value of the formula attribute</li> |
| 108 | </ol> |
| 109 | |
| 110 | <hr> |
| 111 | |
| 112 | <h4>localParameter = KineticLaw_getListOfLocalParameters(SBMLKineticLaw)</h4> |
| 113 | |
| 114 | <p>Takes</p> |
| 115 | |
| 116 | <ol> |
| 117 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 118 | </ol> |
| 119 | |
| 120 | <p>Returns</p> |
| 121 | |
| 122 | <ol> |
| 123 | <li>an array of the localParameter structures</li> |
| 124 | </ol> |
| 125 | |
| 126 | <hr> |
| 127 | |
| 128 | <h4>parameter = KineticLaw_getListOfParameters(SBMLKineticLaw)</h4> |
| 129 | |
| 130 | <p>Takes</p> |
| 131 | |
| 132 | <ol> |
| 133 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 134 | </ol> |
| 135 | |
| 136 | <p>Returns</p> |
| 137 | |
| 138 | <ol> |
| 139 | <li>an array of the parameter structures</li> |
| 140 | </ol> |
| 141 | |
| 142 | <hr> |
| 143 | |
| 144 | <h4>localParameter = KineticLaw_getLocalParameter(SBMLKineticLaw, index)</h4> |
| 145 | |
| 146 | <p>Takes</p> |
| 147 | |
| 148 | <ol> |
| 149 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 150 | <li>index, an integer representing the index of SBML LocalParameter structure</li> |
| 151 | </ol> |
| 152 | |
| 153 | <p>Returns</p> |
| 154 | |
| 155 | <ol> |
| 156 | <li>the SBML LocalParameter structure at the indexed position</li> |
| 157 | </ol> |
| 158 | |
| 159 | <hr> |
| 160 | |
| 161 | <h4>math = KineticLaw_getMath(SBMLKineticLaw)</h4> |
| 162 | |
| 163 | <p>Takes</p> |
| 164 | |
| 165 | <ol> |
| 166 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 167 | </ol> |
| 168 | |
| 169 | <p>Returns</p> |
| 170 | |
| 171 | <ol> |
| 172 | <li>the value of the math attribute</li> |
| 173 | </ol> |
| 174 | |
| 175 | <hr> |
| 176 | |
| 177 | <h4>metaid = KineticLaw_getMetaid(SBMLKineticLaw)</h4> |
| 178 | |
| 179 | <p>Takes</p> |
| 180 | |
| 181 | <ol> |
| 182 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 183 | </ol> |
| 184 | |
| 185 | <p>Returns</p> |
| 186 | |
| 187 | <ol> |
| 188 | <li>the value of the metaid attribute</li> |
| 189 | </ol> |
| 190 | |
| 191 | <hr> |
| 192 | |
| 193 | <h4>num = KineticLaw_getNumLocalParameters(SBMLKineticLaw)</h4> |
| 194 | |
| 195 | <p>Takes</p> |
| 196 | |
| 197 | <ol> |
| 198 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 199 | </ol> |
| 200 | |
| 201 | <p>Returns</p> |
| 202 | |
| 203 | <ol> |
| 204 | <li>the number of SBML LocalParameter structures present in the KineticLaw</li> |
| 205 | </ol> |
| 206 | |
| 207 | <hr> |
| 208 | |
| 209 | <h4>num = KineticLaw_getNumParameters(SBMLKineticLaw)</h4> |
| 210 | |
| 211 | <p>Takes</p> |
| 212 | |
| 213 | <ol> |
| 214 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 215 | </ol> |
| 216 | |
| 217 | <p>Returns</p> |
| 218 | |
| 219 | <ol> |
| 220 | <li>the number of SBML Parameter structures present in the KineticLaw</li> |
| 221 | </ol> |
| 222 | |
| 223 | <hr> |
| 224 | |
| 225 | <h4>parameter = KineticLaw_getParameter(SBMLKineticLaw, index)</h4> |
| 226 | |
| 227 | <p>Takes</p> |
| 228 | |
| 229 | <ol> |
| 230 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 231 | <li>index, an integer representing the index of SBML Parameter structure</li> |
| 232 | </ol> |
| 233 | |
| 234 | <p>Returns</p> |
| 235 | |
| 236 | <ol> |
| 237 | <li>the SBML Parameter structure at the indexed position</li> |
| 238 | </ol> |
| 239 | |
| 240 | <hr> |
| 241 | |
| 242 | <h4>sboTerm = KineticLaw_getSBOTerm(SBMLKineticLaw)</h4> |
| 243 | |
| 244 | <p>Takes</p> |
| 245 | |
| 246 | <ol> |
| 247 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 248 | </ol> |
| 249 | |
| 250 | <p>Returns</p> |
| 251 | |
| 252 | <ol> |
| 253 | <li>the value of the sboTerm attribute</li> |
| 254 | </ol> |
| 255 | |
| 256 | <hr> |
| 257 | |
| 258 | <h4>substanceUnits = KineticLaw_getSubstanceUnits(SBMLKineticLaw)</h4> |
| 259 | |
| 260 | <p>Takes</p> |
| 261 | |
| 262 | <ol> |
| 263 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 264 | </ol> |
| 265 | |
| 266 | <p>Returns</p> |
| 267 | |
| 268 | <ol> |
| 269 | <li>the value of the substanceUnits attribute</li> |
| 270 | </ol> |
| 271 | |
| 272 | <hr> |
| 273 | |
| 274 | <h4>timeUnits = KineticLaw_getTimeUnits(SBMLKineticLaw)</h4> |
| 275 | |
| 276 | <p>Takes</p> |
| 277 | |
| 278 | <ol> |
| 279 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 280 | </ol> |
| 281 | |
| 282 | <p>Returns</p> |
| 283 | |
| 284 | <ol> |
| 285 | <li>the value of the timeUnits attribute</li> |
| 286 | </ol> |
| 287 | |
| 288 | <hr> |
| 289 | |
| 290 | <h4>value = KineticLaw_isSetFormula(SBMLKineticLaw)</h4> |
| 291 | |
| 292 | <p>Takes</p> |
| 293 | |
| 294 | <ol> |
| 295 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 296 | </ol> |
| 297 | |
| 298 | <p>Returns</p> |
| 299 | |
| 300 | <ol> |
| 301 | <li>value = |
| 302 | <ul> |
| 303 | <li>1 if the formula attribute is set</li> |
| 304 | <li>0 otherwise</li> |
| 305 | </ul></li> |
| 306 | </ol> |
| 307 | |
| 308 | <hr> |
| 309 | |
| 310 | <h4>value = KineticLaw_isSetMath(SBMLKineticLaw)</h4> |
| 311 | |
| 312 | <p>Takes</p> |
| 313 | |
| 314 | <ol> |
| 315 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 316 | </ol> |
| 317 | |
| 318 | <p>Returns</p> |
| 319 | |
| 320 | <ol> |
| 321 | <li>value = |
| 322 | <ul> |
| 323 | <li>1 if the math attribute is set</li> |
| 324 | <li>0 otherwise</li> |
| 325 | </ul></li> |
| 326 | </ol> |
| 327 | |
| 328 | <hr> |
| 329 | |
| 330 | <h4>value = KineticLaw_isSetMetaid(SBMLKineticLaw)</h4> |
| 331 | |
| 332 | <p>Takes</p> |
| 333 | |
| 334 | <ol> |
| 335 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 336 | </ol> |
| 337 | |
| 338 | <p>Returns</p> |
| 339 | |
| 340 | <ol> |
| 341 | <li>value = |
| 342 | <ul> |
| 343 | <li>1 if the metaid attribute is set</li> |
| 344 | <li>0 otherwise</li> |
| 345 | </ul></li> |
| 346 | </ol> |
| 347 | |
| 348 | <hr> |
| 349 | |
| 350 | <h4>value = KineticLaw_isSetSBOTerm(SBMLKineticLaw)</h4> |
| 351 | |
| 352 | <p>Takes</p> |
| 353 | |
| 354 | <ol> |
| 355 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 356 | </ol> |
| 357 | |
| 358 | <p>Returns</p> |
| 359 | |
| 360 | <ol> |
| 361 | <li>value = |
| 362 | <ul> |
| 363 | <li>1 if the sboTerm attribute is set</li> |
| 364 | <li>0 otherwise</li> |
| 365 | </ul></li> |
| 366 | </ol> |
| 367 | |
| 368 | <hr> |
| 369 | |
| 370 | <h4>value = KineticLaw_isSetSubstanceUnits(SBMLKineticLaw)</h4> |
| 371 | |
| 372 | <p>Takes</p> |
| 373 | |
| 374 | <ol> |
| 375 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 376 | </ol> |
| 377 | |
| 378 | <p>Returns</p> |
| 379 | |
| 380 | <ol> |
| 381 | <li>value = |
| 382 | <ul> |
| 383 | <li>1 if the substanceUnits attribute is set</li> |
| 384 | <li>0 otherwise</li> |
| 385 | </ul></li> |
| 386 | </ol> |
| 387 | |
| 388 | <hr> |
| 389 | |
| 390 | <h4>value = KineticLaw_isSetTimeUnits(SBMLKineticLaw)</h4> |
| 391 | |
| 392 | <p>Takes</p> |
| 393 | |
| 394 | <ol> |
| 395 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 396 | </ol> |
| 397 | |
| 398 | <p>Returns</p> |
| 399 | |
| 400 | <ol> |
| 401 | <li>value = |
| 402 | <ul> |
| 403 | <li>1 if the timeUnits attribute is set</li> |
| 404 | <li>0 otherwise</li> |
| 405 | </ul></li> |
| 406 | </ol> |
| 407 | |
| 408 | <hr> |
| 409 | |
| 410 | <h4>SBMLKineticLaw = KineticLaw_setFormula(SBMLKineticLaw, formula)</h4> |
| 411 | |
| 412 | <p>Takes</p> |
| 413 | |
| 414 | <ol> |
| 415 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 416 | <li>formula; a string representing the formula to be set</li> |
| 417 | </ol> |
| 418 | |
| 419 | <p>Returns</p> |
| 420 | |
| 421 | <ol> |
| 422 | <li>the SBML KineticLaw structure with the new value for the formula attribute</li> |
| 423 | </ol> |
| 424 | |
| 425 | <hr> |
| 426 | |
| 427 | <h4>SBMLKineticLaw = KineticLaw_setFormulaFromMath(SBMLKineticLaw, formulaFromMath)</h4> |
| 428 | |
| 429 | <p>Takes</p> |
| 430 | |
| 431 | <ol> |
| 432 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 433 | <li>formulaFromMath; a string representing the formulaFromMath to be set</li> |
| 434 | </ol> |
| 435 | |
| 436 | <p>Returns</p> |
| 437 | |
| 438 | <ol> |
| 439 | <li>the SBML KineticLaw structure with the new value for the formulaFromMath attribute</li> |
| 440 | </ol> |
| 441 | |
| 442 | <hr> |
| 443 | |
| 444 | <h4>SBMLKineticLaw = KineticLaw_setMath(SBMLKineticLaw, math)</h4> |
| 445 | |
| 446 | <p>Takes</p> |
| 447 | |
| 448 | <ol> |
| 449 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 450 | <li>math; string representing the math expression math to be set</li> |
| 451 | </ol> |
| 452 | |
| 453 | <p>Returns</p> |
| 454 | |
| 455 | <ol> |
| 456 | <li>the SBML KineticLaw structure with the new value for the math attribute</li> |
| 457 | </ol> |
| 458 | |
| 459 | <hr> |
| 460 | |
| 461 | <h4>SBMLKineticLaw = KineticLaw_setMathFromFormula(SBMLKineticLaw, mathFromFormula)</h4> |
| 462 | |
| 463 | <p>Takes</p> |
| 464 | |
| 465 | <ol> |
| 466 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 467 | <li>mathFromFormula; string representing the math expression mathFromFormula to be set</li> |
| 468 | </ol> |
| 469 | |
| 470 | <p>Returns</p> |
| 471 | |
| 472 | <ol> |
| 473 | <li>the SBML KineticLaw structure with the new value for the mathFromFormula attribute</li> |
| 474 | </ol> |
| 475 | |
| 476 | <hr> |
| 477 | |
| 478 | <h4>SBMLKineticLaw = KineticLaw_setMetaid(SBMLKineticLaw, metaid)</h4> |
| 479 | |
| 480 | <p>Takes</p> |
| 481 | |
| 482 | <ol> |
| 483 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 484 | <li>metaid; a string representing the metaid to be set</li> |
| 485 | </ol> |
| 486 | |
| 487 | <p>Returns</p> |
| 488 | |
| 489 | <ol> |
| 490 | <li>the SBML KineticLaw structure with the new value for the metaid attribute</li> |
| 491 | </ol> |
| 492 | |
| 493 | <hr> |
| 494 | |
| 495 | <h4>SBMLKineticLaw = KineticLaw_setSBOTerm(SBMLKineticLaw, sboTerm)</h4> |
| 496 | |
| 497 | <p>Takes</p> |
| 498 | |
| 499 | <ol> |
| 500 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 501 | <li>sboTerm, an integer representing the sboTerm to be set</li> |
| 502 | </ol> |
| 503 | |
| 504 | <p>Returns</p> |
| 505 | |
| 506 | <ol> |
| 507 | <li>the SBML KineticLaw structure with the new value for the sboTerm attribute</li> |
| 508 | </ol> |
| 509 | |
| 510 | <hr> |
| 511 | |
| 512 | <h4>SBMLKineticLaw = KineticLaw_setSubstanceUnits(SBMLKineticLaw, substanceUnits)</h4> |
| 513 | |
| 514 | <p>Takes</p> |
| 515 | |
| 516 | <ol> |
| 517 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 518 | <li>substanceUnits; a string representing the substanceUnits to be set</li> |
| 519 | </ol> |
| 520 | |
| 521 | <p>Returns</p> |
| 522 | |
| 523 | <ol> |
| 524 | <li>the SBML KineticLaw structure with the new value for the substanceUnits attribute</li> |
| 525 | </ol> |
| 526 | |
| 527 | <hr> |
| 528 | |
| 529 | <h4>SBMLKineticLaw = KineticLaw_setTimeUnits(SBMLKineticLaw, timeUnits)</h4> |
| 530 | |
| 531 | <p>Takes</p> |
| 532 | |
| 533 | <ol> |
| 534 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 535 | <li>timeUnits; a string representing the timeUnits to be set</li> |
| 536 | </ol> |
| 537 | |
| 538 | <p>Returns</p> |
| 539 | |
| 540 | <ol> |
| 541 | <li>the SBML KineticLaw structure with the new value for the timeUnits attribute</li> |
| 542 | </ol> |
| 543 | |
| 544 | <hr> |
| 545 | |
| 546 | <h4>SBMLKineticLaw = KineticLaw_unsetFormula(SBMLKineticLaw)</h4> |
| 547 | |
| 548 | <p>Takes</p> |
| 549 | |
| 550 | <ol> |
| 551 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 552 | </ol> |
| 553 | |
| 554 | <p>Returns</p> |
| 555 | |
| 556 | <ol> |
| 557 | <li>the SBML KineticLaw structure with the formula attribute unset</li> |
| 558 | </ol> |
| 559 | |
| 560 | <hr> |
| 561 | |
| 562 | <h4>SBMLKineticLaw = KineticLaw_unsetMath(SBMLKineticLaw)</h4> |
| 563 | |
| 564 | <p>Takes</p> |
| 565 | |
| 566 | <ol> |
| 567 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 568 | </ol> |
| 569 | |
| 570 | <p>Returns</p> |
| 571 | |
| 572 | <ol> |
| 573 | <li>the SBML KineticLaw structure with the math attribute unset</li> |
| 574 | </ol> |
| 575 | |
| 576 | <hr> |
| 577 | |
| 578 | <h4>SBMLKineticLaw = KineticLaw_unsetMetaid(SBMLKineticLaw)</h4> |
| 579 | |
| 580 | <p>Takes</p> |
| 581 | |
| 582 | <ol> |
| 583 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 584 | </ol> |
| 585 | |
| 586 | <p>Returns</p> |
| 587 | |
| 588 | <ol> |
| 589 | <li>the SBML KineticLaw structure with the metaid attribute unset</li> |
| 590 | </ol> |
| 591 | |
| 592 | <hr> |
| 593 | |
| 594 | <h4>SBMLKineticLaw = KineticLaw_unsetSBOTerm(SBMLKineticLaw)</h4> |
| 595 | |
| 596 | <p>Takes</p> |
| 597 | |
| 598 | <ol> |
| 599 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 600 | </ol> |
| 601 | |
| 602 | <p>Returns</p> |
| 603 | |
| 604 | <ol> |
| 605 | <li>the SBML KineticLaw structure with the sboTerm attribute unset</li> |
| 606 | </ol> |
| 607 | |
| 608 | <hr> |
| 609 | |
| 610 | <h4>SBMLKineticLaw = KineticLaw_unsetSubstanceUnits(SBMLKineticLaw)</h4> |
| 611 | |
| 612 | <p>Takes</p> |
| 613 | |
| 614 | <ol> |
| 615 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 616 | </ol> |
| 617 | |
| 618 | <p>Returns</p> |
| 619 | |
| 620 | <ol> |
| 621 | <li>the SBML KineticLaw structure with the substanceUnits attribute unset</li> |
| 622 | </ol> |
| 623 | |
| 624 | <hr> |
| 625 | |
| 626 | <h4>SBMLKineticLaw = KineticLaw_unsetTimeUnits(SBMLKineticLaw)</h4> |
| 627 | |
| 628 | <p>Takes</p> |
| 629 | |
| 630 | <ol> |
| 631 | <li>SBMLKineticLaw, an SBML KineticLaw structure</li> |
| 632 | </ol> |
| 633 | |
| 634 | <p>Returns</p> |
| 635 | |
| 636 | <ol> |
| 637 | <li>the SBML KineticLaw structure with the timeUnits attribute unset</li> |
| 638 | </ol> |
| 639 | |
| 640 | <hr> |