| 1 | <style type='text/css'> |
| 2 | /*/*/ /*<![CDATA[*/ |
| 3 | @import "../style.css"; |
| 4 | /*]]>*/ /* */ |
| 5 | </style> |
| 6 | |
| 7 | <h3>MATLAB_SBML_STRUCTURE_FUNCTIONS\PARAMETER</h3> |
| 8 | |
| 9 | <p>The functions allow users to create and work with the SBML Parameter structure.</p> |
| 10 | |
| 11 | <p>Function are:</p> |
| 12 | |
| 13 | <hr> |
| 14 | |
| 15 | <h4>Parameter = Parameter_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 Parameter 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>constant = Parameter_getConstant(SBMLParameter)</h4> |
| 37 | |
| 38 | <p>Takes</p> |
| 39 | |
| 40 | <ol> |
| 41 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 42 | </ol> |
| 43 | |
| 44 | <p>Returns</p> |
| 45 | |
| 46 | <ol> |
| 47 | <li>the value of the constant attribute</li> |
| 48 | </ol> |
| 49 | |
| 50 | <hr> |
| 51 | |
| 52 | <h4>id = Parameter_getId(SBMLParameter)</h4> |
| 53 | |
| 54 | <p>Takes</p> |
| 55 | |
| 56 | <ol> |
| 57 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 58 | </ol> |
| 59 | |
| 60 | <p>Returns</p> |
| 61 | |
| 62 | <ol> |
| 63 | <li>the value of the id attribute</li> |
| 64 | </ol> |
| 65 | |
| 66 | <hr> |
| 67 | |
| 68 | <h4>metaid = Parameter_getMetaid(SBMLParameter)</h4> |
| 69 | |
| 70 | <p>Takes</p> |
| 71 | |
| 72 | <ol> |
| 73 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 74 | </ol> |
| 75 | |
| 76 | <p>Returns</p> |
| 77 | |
| 78 | <ol> |
| 79 | <li>the value of the metaid attribute</li> |
| 80 | </ol> |
| 81 | |
| 82 | <hr> |
| 83 | |
| 84 | <h4>name = Parameter_getName(SBMLParameter)</h4> |
| 85 | |
| 86 | <p>Takes</p> |
| 87 | |
| 88 | <ol> |
| 89 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 90 | </ol> |
| 91 | |
| 92 | <p>Returns</p> |
| 93 | |
| 94 | <ol> |
| 95 | <li>the value of the name attribute</li> |
| 96 | </ol> |
| 97 | |
| 98 | <hr> |
| 99 | |
| 100 | <h4>sboTerm = Parameter_getSBOTerm(SBMLParameter)</h4> |
| 101 | |
| 102 | <p>Takes</p> |
| 103 | |
| 104 | <ol> |
| 105 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 106 | </ol> |
| 107 | |
| 108 | <p>Returns</p> |
| 109 | |
| 110 | <ol> |
| 111 | <li>the value of the sboTerm attribute</li> |
| 112 | </ol> |
| 113 | |
| 114 | <hr> |
| 115 | |
| 116 | <h4>units = Parameter_getUnits(SBMLParameter)</h4> |
| 117 | |
| 118 | <p>Takes</p> |
| 119 | |
| 120 | <ol> |
| 121 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 122 | </ol> |
| 123 | |
| 124 | <p>Returns</p> |
| 125 | |
| 126 | <ol> |
| 127 | <li>the value of the units attribute</li> |
| 128 | </ol> |
| 129 | |
| 130 | <hr> |
| 131 | |
| 132 | <h4>value = Parameter_getValue(SBMLParameter)</h4> |
| 133 | |
| 134 | <p>Takes</p> |
| 135 | |
| 136 | <ol> |
| 137 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 138 | </ol> |
| 139 | |
| 140 | <p>Returns</p> |
| 141 | |
| 142 | <ol> |
| 143 | <li>the value of the value attribute</li> |
| 144 | </ol> |
| 145 | |
| 146 | <hr> |
| 147 | |
| 148 | <h4>y = Parameter_isAssignedByRateRule(SBMLParameter, SBMLRules)</h4> |
| 149 | |
| 150 | <p>Takes</p> |
| 151 | |
| 152 | <ol> |
| 153 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 154 | <li>SBMLRules; the array of rules from an SBML Model structure</li> |
| 155 | </ol> |
| 156 | |
| 157 | <p>Returns</p> |
| 158 | |
| 159 | <p>y = |
| 160 | - the index of the rateRule used to assigned value to the Parameter |
| 161 | - 0 if the Parameter is not assigned by rateRule </p> |
| 162 | |
| 163 | <p>!--------------------------------------------------------------------------- |
| 164 | This file is part of SBMLToolbox. Please visit http://sbml.org for more |
| 165 | information about SBML, and the latest version of SBMLToolbox.</p> |
| 166 | |
| 167 | <p>Copyright (C) 2009-2012 jointly by the following organizations: |
| 168 | 1. California Institute of Technology, Pasadena, CA, USA |
| 169 | 2. EMBL European Bioinformatics Institute (EBML-EBI), Hinxton, UK</p> |
| 170 | |
| 171 | <p>Copyright (C) 2006-2008 jointly by the following organizations: |
| 172 | 1. California Institute of Technology, Pasadena, CA, USA |
| 173 | 2. University of Hertfordshire, Hatfield, UK</p> |
| 174 | |
| 175 | <p>Copyright (C) 2003-2005 jointly by the following organizations: |
| 176 | 1. California Institute of Technology, Pasadena, CA, USA |
| 177 | 2. Japan Science and Technology Agency, Japan |
| 178 | 3. University of Hertfordshire, Hatfield, UK</p> |
| 179 | |
| 180 | <p>SBMLToolbox is free software; you can redistribute it and/or modify it |
| 181 | under the terms of the GNU Lesser General Public License as published by |
| 182 | the Free Software Foundation. A copy of the license agreement is provided |
| 183 | in the file named "LICENSE.txt" included with this software distribution. |
| 184 | ---------------------------------------------------------------------- --></p> |
| 185 | |
| 186 | <hr> |
| 187 | |
| 188 | <h4>y = Parameter_isAssignedByRule(SBMLParameter, SBMLRules)</h4> |
| 189 | |
| 190 | <p>Takes</p> |
| 191 | |
| 192 | <ol> |
| 193 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 194 | <li>SBMLRules; the array of rules from an SBML Model structure</li> |
| 195 | </ol> |
| 196 | |
| 197 | <p>Returns</p> |
| 198 | |
| 199 | <p>y = |
| 200 | - the index of the assignmentRule used to assigned value to the Parameter |
| 201 | - 0 if the Parameter is not assigned by assignmentRule </p> |
| 202 | |
| 203 | <p>!--------------------------------------------------------------------------- |
| 204 | This file is part of SBMLToolbox. Please visit http://sbml.org for more |
| 205 | information about SBML, and the latest version of SBMLToolbox.</p> |
| 206 | |
| 207 | <p>Copyright (C) 2009-2012 jointly by the following organizations: |
| 208 | 1. California Institute of Technology, Pasadena, CA, USA |
| 209 | 2. EMBL European Bioinformatics Institute (EBML-EBI), Hinxton, UK</p> |
| 210 | |
| 211 | <p>Copyright (C) 2006-2008 jointly by the following organizations: |
| 212 | 1. California Institute of Technology, Pasadena, CA, USA |
| 213 | 2. University of Hertfordshire, Hatfield, UK</p> |
| 214 | |
| 215 | <p>Copyright (C) 2003-2005 jointly by the following organizations: |
| 216 | 1. California Institute of Technology, Pasadena, CA, USA |
| 217 | 2. Japan Science and Technology Agency, Japan |
| 218 | 3. University of Hertfordshire, Hatfield, UK</p> |
| 219 | |
| 220 | <p>SBMLToolbox is free software; you can redistribute it and/or modify it |
| 221 | under the terms of the GNU Lesser General Public License as published by |
| 222 | the Free Software Foundation. A copy of the license agreement is provided |
| 223 | in the file named "LICENSE.txt" included with this software distribution. |
| 224 | ---------------------------------------------------------------------- --></p> |
| 225 | |
| 226 | <hr> |
| 227 | |
| 228 | <h4>y = Parameter_isInAlgebraicRule(SBMLParameter, SBMLRules)</h4> |
| 229 | |
| 230 | <p>Takes</p> |
| 231 | |
| 232 | <ol> |
| 233 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 234 | <li>SBMLRules; the array of rules from an SBML Model structure</li> |
| 235 | </ol> |
| 236 | |
| 237 | <p>Returns</p> |
| 238 | |
| 239 | <p>y = |
| 240 | - an array of the indices of any algebraicRules the id of the Parameter appears in |
| 241 | - 0 if the Parameter appears in no algebraicRules </p> |
| 242 | |
| 243 | <p>!--------------------------------------------------------------------------- |
| 244 | This file is part of SBMLToolbox. Please visit http://sbml.org for more |
| 245 | information about SBML, and the latest version of SBMLToolbox.</p> |
| 246 | |
| 247 | <p>Copyright (C) 2009-2012 jointly by the following organizations: |
| 248 | 1. California Institute of Technology, Pasadena, CA, USA |
| 249 | 2. EMBL European Bioinformatics Institute (EBML-EBI), Hinxton, UK</p> |
| 250 | |
| 251 | <p>Copyright (C) 2006-2008 jointly by the following organizations: |
| 252 | 1. California Institute of Technology, Pasadena, CA, USA |
| 253 | 2. University of Hertfordshire, Hatfield, UK</p> |
| 254 | |
| 255 | <p>Copyright (C) 2003-2005 jointly by the following organizations: |
| 256 | 1. California Institute of Technology, Pasadena, CA, USA |
| 257 | 2. Japan Science and Technology Agency, Japan |
| 258 | 3. University of Hertfordshire, Hatfield, UK</p> |
| 259 | |
| 260 | <p>SBMLToolbox is free software; you can redistribute it and/or modify it |
| 261 | under the terms of the GNU Lesser General Public License as published by |
| 262 | the Free Software Foundation. A copy of the license agreement is provided |
| 263 | in the file named "LICENSE.txt" included with this software distribution. |
| 264 | ---------------------------------------------------------------------- --></p> |
| 265 | |
| 266 | <hr> |
| 267 | |
| 268 | <h4>value = Parameter_isSetId(SBMLParameter)</h4> |
| 269 | |
| 270 | <p>Takes</p> |
| 271 | |
| 272 | <ol> |
| 273 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 274 | </ol> |
| 275 | |
| 276 | <p>Returns</p> |
| 277 | |
| 278 | <ol> |
| 279 | <li>value = |
| 280 | <ul> |
| 281 | <li>1 if the id attribute is set</li> |
| 282 | <li>0 otherwise</li> |
| 283 | </ul></li> |
| 284 | </ol> |
| 285 | |
| 286 | <hr> |
| 287 | |
| 288 | <h4>value = Parameter_isSetMetaid(SBMLParameter)</h4> |
| 289 | |
| 290 | <p>Takes</p> |
| 291 | |
| 292 | <ol> |
| 293 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 294 | </ol> |
| 295 | |
| 296 | <p>Returns</p> |
| 297 | |
| 298 | <ol> |
| 299 | <li>value = |
| 300 | <ul> |
| 301 | <li>1 if the metaid attribute is set</li> |
| 302 | <li>0 otherwise</li> |
| 303 | </ul></li> |
| 304 | </ol> |
| 305 | |
| 306 | <hr> |
| 307 | |
| 308 | <h4>value = Parameter_isSetName(SBMLParameter)</h4> |
| 309 | |
| 310 | <p>Takes</p> |
| 311 | |
| 312 | <ol> |
| 313 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 314 | </ol> |
| 315 | |
| 316 | <p>Returns</p> |
| 317 | |
| 318 | <ol> |
| 319 | <li>value = |
| 320 | <ul> |
| 321 | <li>1 if the name attribute is set</li> |
| 322 | <li>0 otherwise</li> |
| 323 | </ul></li> |
| 324 | </ol> |
| 325 | |
| 326 | <hr> |
| 327 | |
| 328 | <h4>value = Parameter_isSetSBOTerm(SBMLParameter)</h4> |
| 329 | |
| 330 | <p>Takes</p> |
| 331 | |
| 332 | <ol> |
| 333 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 334 | </ol> |
| 335 | |
| 336 | <p>Returns</p> |
| 337 | |
| 338 | <ol> |
| 339 | <li>value = |
| 340 | <ul> |
| 341 | <li>1 if the sboTerm attribute is set</li> |
| 342 | <li>0 otherwise</li> |
| 343 | </ul></li> |
| 344 | </ol> |
| 345 | |
| 346 | <hr> |
| 347 | |
| 348 | <h4>value = Parameter_isSetUnits(SBMLParameter)</h4> |
| 349 | |
| 350 | <p>Takes</p> |
| 351 | |
| 352 | <ol> |
| 353 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 354 | </ol> |
| 355 | |
| 356 | <p>Returns</p> |
| 357 | |
| 358 | <ol> |
| 359 | <li>value = |
| 360 | <ul> |
| 361 | <li>1 if the units attribute is set</li> |
| 362 | <li>0 otherwise</li> |
| 363 | </ul></li> |
| 364 | </ol> |
| 365 | |
| 366 | <hr> |
| 367 | |
| 368 | <h4>value = Parameter_isSetValue(SBMLParameter)</h4> |
| 369 | |
| 370 | <p>Takes</p> |
| 371 | |
| 372 | <ol> |
| 373 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 374 | </ol> |
| 375 | |
| 376 | <p>Returns</p> |
| 377 | |
| 378 | <ol> |
| 379 | <li>value = |
| 380 | <ul> |
| 381 | <li>1 if the value attribute is set</li> |
| 382 | <li>0 otherwise</li> |
| 383 | </ul></li> |
| 384 | </ol> |
| 385 | |
| 386 | <hr> |
| 387 | |
| 388 | <h4>SBMLParameter = Parameter_setConstant(SBMLParameter, constant)</h4> |
| 389 | |
| 390 | <p>Takes</p> |
| 391 | |
| 392 | <ol> |
| 393 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 394 | <li>constant, an integer (0/1) representing the value of constant to be set</li> |
| 395 | </ol> |
| 396 | |
| 397 | <p>Returns</p> |
| 398 | |
| 399 | <ol> |
| 400 | <li>the SBML Parameter structure with the new value for the constant attribute</li> |
| 401 | </ol> |
| 402 | |
| 403 | <hr> |
| 404 | |
| 405 | <h4>SBMLParameter = Parameter_setId(SBMLParameter, id)</h4> |
| 406 | |
| 407 | <p>Takes</p> |
| 408 | |
| 409 | <ol> |
| 410 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 411 | <li>id; a string representing the id to be set</li> |
| 412 | </ol> |
| 413 | |
| 414 | <p>Returns</p> |
| 415 | |
| 416 | <ol> |
| 417 | <li>the SBML Parameter structure with the new value for the id attribute</li> |
| 418 | </ol> |
| 419 | |
| 420 | <hr> |
| 421 | |
| 422 | <h4>SBMLParameter = Parameter_setMetaid(SBMLParameter, metaid)</h4> |
| 423 | |
| 424 | <p>Takes</p> |
| 425 | |
| 426 | <ol> |
| 427 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 428 | <li>metaid; a string representing the metaid to be set</li> |
| 429 | </ol> |
| 430 | |
| 431 | <p>Returns</p> |
| 432 | |
| 433 | <ol> |
| 434 | <li>the SBML Parameter structure with the new value for the metaid attribute</li> |
| 435 | </ol> |
| 436 | |
| 437 | <hr> |
| 438 | |
| 439 | <h4>SBMLParameter = Parameter_setName(SBMLParameter, name)</h4> |
| 440 | |
| 441 | <p>Takes</p> |
| 442 | |
| 443 | <ol> |
| 444 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 445 | <li>name; a string representing the name to be set</li> |
| 446 | </ol> |
| 447 | |
| 448 | <p>Returns</p> |
| 449 | |
| 450 | <ol> |
| 451 | <li>the SBML Parameter structure with the new value for the name attribute</li> |
| 452 | </ol> |
| 453 | |
| 454 | <hr> |
| 455 | |
| 456 | <h4>SBMLParameter = Parameter_setSBOTerm(SBMLParameter, sboTerm)</h4> |
| 457 | |
| 458 | <p>Takes</p> |
| 459 | |
| 460 | <ol> |
| 461 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 462 | <li>sboTerm, an integer representing the sboTerm to be set</li> |
| 463 | </ol> |
| 464 | |
| 465 | <p>Returns</p> |
| 466 | |
| 467 | <ol> |
| 468 | <li>the SBML Parameter structure with the new value for the sboTerm attribute</li> |
| 469 | </ol> |
| 470 | |
| 471 | <hr> |
| 472 | |
| 473 | <h4>SBMLParameter = Parameter_setUnits(SBMLParameter, units)</h4> |
| 474 | |
| 475 | <p>Takes</p> |
| 476 | |
| 477 | <ol> |
| 478 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 479 | <li>units; a string representing the units to be set</li> |
| 480 | </ol> |
| 481 | |
| 482 | <p>Returns</p> |
| 483 | |
| 484 | <ol> |
| 485 | <li>the SBML Parameter structure with the new value for the units attribute</li> |
| 486 | </ol> |
| 487 | |
| 488 | <hr> |
| 489 | |
| 490 | <h4>SBMLParameter = Parameter_setValue(SBMLParameter, value)</h4> |
| 491 | |
| 492 | <p>Takes</p> |
| 493 | |
| 494 | <ol> |
| 495 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 496 | <li>value; number representing the value of value to be set</li> |
| 497 | </ol> |
| 498 | |
| 499 | <p>Returns</p> |
| 500 | |
| 501 | <ol> |
| 502 | <li>the SBML Parameter structure with the new value for the value attribute</li> |
| 503 | </ol> |
| 504 | |
| 505 | <hr> |
| 506 | |
| 507 | <h4>SBMLParameter = Parameter_unsetId(SBMLParameter)</h4> |
| 508 | |
| 509 | <p>Takes</p> |
| 510 | |
| 511 | <ol> |
| 512 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 513 | </ol> |
| 514 | |
| 515 | <p>Returns</p> |
| 516 | |
| 517 | <ol> |
| 518 | <li>the SBML Parameter structure with the id attribute unset</li> |
| 519 | </ol> |
| 520 | |
| 521 | <hr> |
| 522 | |
| 523 | <h4>SBMLParameter = Parameter_unsetMetaid(SBMLParameter)</h4> |
| 524 | |
| 525 | <p>Takes</p> |
| 526 | |
| 527 | <ol> |
| 528 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 529 | </ol> |
| 530 | |
| 531 | <p>Returns</p> |
| 532 | |
| 533 | <ol> |
| 534 | <li>the SBML Parameter structure with the metaid attribute unset</li> |
| 535 | </ol> |
| 536 | |
| 537 | <hr> |
| 538 | |
| 539 | <h4>SBMLParameter = Parameter_unsetName(SBMLParameter)</h4> |
| 540 | |
| 541 | <p>Takes</p> |
| 542 | |
| 543 | <ol> |
| 544 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 545 | </ol> |
| 546 | |
| 547 | <p>Returns</p> |
| 548 | |
| 549 | <ol> |
| 550 | <li>the SBML Parameter structure with the name attribute unset</li> |
| 551 | </ol> |
| 552 | |
| 553 | <hr> |
| 554 | |
| 555 | <h4>SBMLParameter = Parameter_unsetSBOTerm(SBMLParameter)</h4> |
| 556 | |
| 557 | <p>Takes</p> |
| 558 | |
| 559 | <ol> |
| 560 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 561 | </ol> |
| 562 | |
| 563 | <p>Returns</p> |
| 564 | |
| 565 | <ol> |
| 566 | <li>the SBML Parameter structure with the sboTerm attribute unset</li> |
| 567 | </ol> |
| 568 | |
| 569 | <hr> |
| 570 | |
| 571 | <h4>SBMLParameter = Parameter_unsetUnits(SBMLParameter)</h4> |
| 572 | |
| 573 | <p>Takes</p> |
| 574 | |
| 575 | <ol> |
| 576 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 577 | </ol> |
| 578 | |
| 579 | <p>Returns</p> |
| 580 | |
| 581 | <ol> |
| 582 | <li>the SBML Parameter structure with the units attribute unset</li> |
| 583 | </ol> |
| 584 | |
| 585 | <hr> |
| 586 | |
| 587 | <h4>SBMLParameter = Parameter_unsetValue(SBMLParameter)</h4> |
| 588 | |
| 589 | <p>Takes</p> |
| 590 | |
| 591 | <ol> |
| 592 | <li>SBMLParameter, an SBML Parameter structure</li> |
| 593 | </ol> |
| 594 | |
| 595 | <p>Returns</p> |
| 596 | |
| 597 | <ol> |
| 598 | <li>the SBML Parameter structure with the value attribute unset</li> |
| 599 | </ol> |
| 600 | |
| 601 | <hr> |