| 1 | <style type='text/css'> |
| 2 | /*/*/ /*<![CDATA[*/ |
| 3 | @import "../style.css"; |
| 4 | /*]]>*/ /* */ |
| 5 | </style> |
| 6 | |
| 7 | <h3>MATLAB_SBML_STRUCTURE_FUNCTIONS\COMPARTMENT</h3> |
| 8 | |
| 9 | <p>The functions allow users to create and work with the SBML Compartment structure.</p> |
| 10 | |
| 11 | <p>Function are:</p> |
| 12 | |
| 13 | <hr> |
| 14 | |
| 15 | <h4>Compartment = Compartment_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 Compartment 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>compartmentType = Compartment_getCompartmentType(SBMLCompartment)</h4> |
| 37 | |
| 38 | <p>Takes</p> |
| 39 | |
| 40 | <ol> |
| 41 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 42 | </ol> |
| 43 | |
| 44 | <p>Returns</p> |
| 45 | |
| 46 | <ol> |
| 47 | <li>the value of the compartmentType attribute</li> |
| 48 | </ol> |
| 49 | |
| 50 | <hr> |
| 51 | |
| 52 | <h4>constant = Compartment_getConstant(SBMLCompartment)</h4> |
| 53 | |
| 54 | <p>Takes</p> |
| 55 | |
| 56 | <ol> |
| 57 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 58 | </ol> |
| 59 | |
| 60 | <p>Returns</p> |
| 61 | |
| 62 | <ol> |
| 63 | <li>the value of the constant attribute</li> |
| 64 | </ol> |
| 65 | |
| 66 | <hr> |
| 67 | |
| 68 | <h4>id = Compartment_getId(SBMLCompartment)</h4> |
| 69 | |
| 70 | <p>Takes</p> |
| 71 | |
| 72 | <ol> |
| 73 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 74 | </ol> |
| 75 | |
| 76 | <p>Returns</p> |
| 77 | |
| 78 | <ol> |
| 79 | <li>the value of the id attribute</li> |
| 80 | </ol> |
| 81 | |
| 82 | <hr> |
| 83 | |
| 84 | <h4>metaid = Compartment_getMetaid(SBMLCompartment)</h4> |
| 85 | |
| 86 | <p>Takes</p> |
| 87 | |
| 88 | <ol> |
| 89 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 90 | </ol> |
| 91 | |
| 92 | <p>Returns</p> |
| 93 | |
| 94 | <ol> |
| 95 | <li>the value of the metaid attribute</li> |
| 96 | </ol> |
| 97 | |
| 98 | <hr> |
| 99 | |
| 100 | <h4>name = Compartment_getName(SBMLCompartment)</h4> |
| 101 | |
| 102 | <p>Takes</p> |
| 103 | |
| 104 | <ol> |
| 105 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 106 | </ol> |
| 107 | |
| 108 | <p>Returns</p> |
| 109 | |
| 110 | <ol> |
| 111 | <li>the value of the name attribute</li> |
| 112 | </ol> |
| 113 | |
| 114 | <hr> |
| 115 | |
| 116 | <h4>outside = Compartment_getOutside(SBMLCompartment)</h4> |
| 117 | |
| 118 | <p>Takes</p> |
| 119 | |
| 120 | <ol> |
| 121 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 122 | </ol> |
| 123 | |
| 124 | <p>Returns</p> |
| 125 | |
| 126 | <ol> |
| 127 | <li>the value of the outside attribute</li> |
| 128 | </ol> |
| 129 | |
| 130 | <hr> |
| 131 | |
| 132 | <h4>sboTerm = Compartment_getSBOTerm(SBMLCompartment)</h4> |
| 133 | |
| 134 | <p>Takes</p> |
| 135 | |
| 136 | <ol> |
| 137 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 138 | </ol> |
| 139 | |
| 140 | <p>Returns</p> |
| 141 | |
| 142 | <ol> |
| 143 | <li>the value of the sboTerm attribute</li> |
| 144 | </ol> |
| 145 | |
| 146 | <hr> |
| 147 | |
| 148 | <h4>size = Compartment_getSize(SBMLCompartment)</h4> |
| 149 | |
| 150 | <p>Takes</p> |
| 151 | |
| 152 | <ol> |
| 153 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 154 | </ol> |
| 155 | |
| 156 | <p>Returns</p> |
| 157 | |
| 158 | <ol> |
| 159 | <li>the value of the size attribute</li> |
| 160 | </ol> |
| 161 | |
| 162 | <hr> |
| 163 | |
| 164 | <h4>spatialDimensions = Compartment_getSpatialDimensions(SBMLCompartment)</h4> |
| 165 | |
| 166 | <p>Takes</p> |
| 167 | |
| 168 | <ol> |
| 169 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 170 | </ol> |
| 171 | |
| 172 | <p>Returns</p> |
| 173 | |
| 174 | <ol> |
| 175 | <li>the value of the spatialDimensions attribute</li> |
| 176 | </ol> |
| 177 | |
| 178 | <hr> |
| 179 | |
| 180 | <h4>units = Compartment_getUnits(SBMLCompartment)</h4> |
| 181 | |
| 182 | <p>Takes</p> |
| 183 | |
| 184 | <ol> |
| 185 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 186 | </ol> |
| 187 | |
| 188 | <p>Returns</p> |
| 189 | |
| 190 | <ol> |
| 191 | <li>the value of the units attribute</li> |
| 192 | </ol> |
| 193 | |
| 194 | <hr> |
| 195 | |
| 196 | <h4>volume = Compartment_getVolume(SBMLCompartment)</h4> |
| 197 | |
| 198 | <p>Takes</p> |
| 199 | |
| 200 | <ol> |
| 201 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 202 | </ol> |
| 203 | |
| 204 | <p>Returns</p> |
| 205 | |
| 206 | <ol> |
| 207 | <li>the value of the volume attribute</li> |
| 208 | </ol> |
| 209 | |
| 210 | <hr> |
| 211 | |
| 212 | <h4>y = Compartment_isAssignedByRateRule(SBMLCompartment, SBMLRules)</h4> |
| 213 | |
| 214 | <p>Takes</p> |
| 215 | |
| 216 | <ol> |
| 217 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 218 | <li>SBMLRules; the array of rules from an SBML Model structure</li> |
| 219 | </ol> |
| 220 | |
| 221 | <p>Returns</p> |
| 222 | |
| 223 | <p>y = |
| 224 | - the index of the rateRule used to assigned value to the Compartment |
| 225 | - 0 if the Compartment is not assigned by rateRule </p> |
| 226 | |
| 227 | <p>!--------------------------------------------------------------------------- |
| 228 | This file is part of SBMLToolbox. Please visit http://sbml.org for more |
| 229 | information about SBML, and the latest version of SBMLToolbox.</p> |
| 230 | |
| 231 | <p>Copyright (C) 2009-2012 jointly by the following organizations: |
| 232 | 1. California Institute of Technology, Pasadena, CA, USA |
| 233 | 2. EMBL European Bioinformatics Institute (EBML-EBI), Hinxton, UK</p> |
| 234 | |
| 235 | <p>Copyright (C) 2006-2008 jointly by the following organizations: |
| 236 | 1. California Institute of Technology, Pasadena, CA, USA |
| 237 | 2. University of Hertfordshire, Hatfield, UK</p> |
| 238 | |
| 239 | <p>Copyright (C) 2003-2005 jointly by the following organizations: |
| 240 | 1. California Institute of Technology, Pasadena, CA, USA |
| 241 | 2. Japan Science and Technology Agency, Japan |
| 242 | 3. University of Hertfordshire, Hatfield, UK</p> |
| 243 | |
| 244 | <p>SBMLToolbox is free software; you can redistribute it and/or modify it |
| 245 | under the terms of the GNU Lesser General Public License as published by |
| 246 | the Free Software Foundation. A copy of the license agreement is provided |
| 247 | in the file named "LICENSE.txt" included with this software distribution. |
| 248 | ---------------------------------------------------------------------- --></p> |
| 249 | |
| 250 | <hr> |
| 251 | |
| 252 | <h4>y = Compartment_isAssignedByRule(SBMLCompartment, SBMLRules)</h4> |
| 253 | |
| 254 | <p>Takes</p> |
| 255 | |
| 256 | <ol> |
| 257 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 258 | <li>SBMLRules; the array of rules from an SBML Model structure</li> |
| 259 | </ol> |
| 260 | |
| 261 | <p>Returns</p> |
| 262 | |
| 263 | <p>y = |
| 264 | - the index of the assignmentRule used to assigned value to the Compartment |
| 265 | - 0 if the Compartment is not assigned by assignmentRule </p> |
| 266 | |
| 267 | <p>!--------------------------------------------------------------------------- |
| 268 | This file is part of SBMLToolbox. Please visit http://sbml.org for more |
| 269 | information about SBML, and the latest version of SBMLToolbox.</p> |
| 270 | |
| 271 | <p>Copyright (C) 2009-2012 jointly by the following organizations: |
| 272 | 1. California Institute of Technology, Pasadena, CA, USA |
| 273 | 2. EMBL European Bioinformatics Institute (EBML-EBI), Hinxton, UK</p> |
| 274 | |
| 275 | <p>Copyright (C) 2006-2008 jointly by the following organizations: |
| 276 | 1. California Institute of Technology, Pasadena, CA, USA |
| 277 | 2. University of Hertfordshire, Hatfield, UK</p> |
| 278 | |
| 279 | <p>Copyright (C) 2003-2005 jointly by the following organizations: |
| 280 | 1. California Institute of Technology, Pasadena, CA, USA |
| 281 | 2. Japan Science and Technology Agency, Japan |
| 282 | 3. University of Hertfordshire, Hatfield, UK</p> |
| 283 | |
| 284 | <p>SBMLToolbox is free software; you can redistribute it and/or modify it |
| 285 | under the terms of the GNU Lesser General Public License as published by |
| 286 | the Free Software Foundation. A copy of the license agreement is provided |
| 287 | in the file named "LICENSE.txt" included with this software distribution. |
| 288 | ---------------------------------------------------------------------- --></p> |
| 289 | |
| 290 | <hr> |
| 291 | |
| 292 | <h4>y = Compartment_isInAlgebraicRule(SBMLCompartment, SBMLRules)</h4> |
| 293 | |
| 294 | <p>Takes</p> |
| 295 | |
| 296 | <ol> |
| 297 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 298 | <li>SBMLRules; the array of rules from an SBML Model structure</li> |
| 299 | </ol> |
| 300 | |
| 301 | <p>Returns</p> |
| 302 | |
| 303 | <p>y = |
| 304 | - an array of the indices of any algebraicRules the id of the Compartment appears in |
| 305 | - 0 if the Compartment appears in no algebraicRules </p> |
| 306 | |
| 307 | <p>!--------------------------------------------------------------------------- |
| 308 | This file is part of SBMLToolbox. Please visit http://sbml.org for more |
| 309 | information about SBML, and the latest version of SBMLToolbox.</p> |
| 310 | |
| 311 | <p>Copyright (C) 2009-2012 jointly by the following organizations: |
| 312 | 1. California Institute of Technology, Pasadena, CA, USA |
| 313 | 2. EMBL European Bioinformatics Institute (EBML-EBI), Hinxton, UK</p> |
| 314 | |
| 315 | <p>Copyright (C) 2006-2008 jointly by the following organizations: |
| 316 | 1. California Institute of Technology, Pasadena, CA, USA |
| 317 | 2. University of Hertfordshire, Hatfield, UK</p> |
| 318 | |
| 319 | <p>Copyright (C) 2003-2005 jointly by the following organizations: |
| 320 | 1. California Institute of Technology, Pasadena, CA, USA |
| 321 | 2. Japan Science and Technology Agency, Japan |
| 322 | 3. University of Hertfordshire, Hatfield, UK</p> |
| 323 | |
| 324 | <p>SBMLToolbox is free software; you can redistribute it and/or modify it |
| 325 | under the terms of the GNU Lesser General Public License as published by |
| 326 | the Free Software Foundation. A copy of the license agreement is provided |
| 327 | in the file named "LICENSE.txt" included with this software distribution. |
| 328 | ---------------------------------------------------------------------- --></p> |
| 329 | |
| 330 | <hr> |
| 331 | |
| 332 | <h4>value = Compartment_isSetCompartmentType(SBMLCompartment)</h4> |
| 333 | |
| 334 | <p>Takes</p> |
| 335 | |
| 336 | <ol> |
| 337 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 338 | </ol> |
| 339 | |
| 340 | <p>Returns</p> |
| 341 | |
| 342 | <ol> |
| 343 | <li>value = |
| 344 | <ul> |
| 345 | <li>1 if the compartmentType attribute is set</li> |
| 346 | <li>0 otherwise</li> |
| 347 | </ul></li> |
| 348 | </ol> |
| 349 | |
| 350 | <hr> |
| 351 | |
| 352 | <h4>value = Compartment_isSetId(SBMLCompartment)</h4> |
| 353 | |
| 354 | <p>Takes</p> |
| 355 | |
| 356 | <ol> |
| 357 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 358 | </ol> |
| 359 | |
| 360 | <p>Returns</p> |
| 361 | |
| 362 | <ol> |
| 363 | <li>value = |
| 364 | <ul> |
| 365 | <li>1 if the id attribute is set</li> |
| 366 | <li>0 otherwise</li> |
| 367 | </ul></li> |
| 368 | </ol> |
| 369 | |
| 370 | <hr> |
| 371 | |
| 372 | <h4>value = Compartment_isSetMetaid(SBMLCompartment)</h4> |
| 373 | |
| 374 | <p>Takes</p> |
| 375 | |
| 376 | <ol> |
| 377 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 378 | </ol> |
| 379 | |
| 380 | <p>Returns</p> |
| 381 | |
| 382 | <ol> |
| 383 | <li>value = |
| 384 | <ul> |
| 385 | <li>1 if the metaid attribute is set</li> |
| 386 | <li>0 otherwise</li> |
| 387 | </ul></li> |
| 388 | </ol> |
| 389 | |
| 390 | <hr> |
| 391 | |
| 392 | <h4>value = Compartment_isSetName(SBMLCompartment)</h4> |
| 393 | |
| 394 | <p>Takes</p> |
| 395 | |
| 396 | <ol> |
| 397 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 398 | </ol> |
| 399 | |
| 400 | <p>Returns</p> |
| 401 | |
| 402 | <ol> |
| 403 | <li>value = |
| 404 | <ul> |
| 405 | <li>1 if the name attribute is set</li> |
| 406 | <li>0 otherwise</li> |
| 407 | </ul></li> |
| 408 | </ol> |
| 409 | |
| 410 | <hr> |
| 411 | |
| 412 | <h4>value = Compartment_isSetOutside(SBMLCompartment)</h4> |
| 413 | |
| 414 | <p>Takes</p> |
| 415 | |
| 416 | <ol> |
| 417 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 418 | </ol> |
| 419 | |
| 420 | <p>Returns</p> |
| 421 | |
| 422 | <ol> |
| 423 | <li>value = |
| 424 | <ul> |
| 425 | <li>1 if the outside attribute is set</li> |
| 426 | <li>0 otherwise</li> |
| 427 | </ul></li> |
| 428 | </ol> |
| 429 | |
| 430 | <hr> |
| 431 | |
| 432 | <h4>value = Compartment_isSetSBOTerm(SBMLCompartment)</h4> |
| 433 | |
| 434 | <p>Takes</p> |
| 435 | |
| 436 | <ol> |
| 437 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 438 | </ol> |
| 439 | |
| 440 | <p>Returns</p> |
| 441 | |
| 442 | <ol> |
| 443 | <li>value = |
| 444 | <ul> |
| 445 | <li>1 if the sboTerm attribute is set</li> |
| 446 | <li>0 otherwise</li> |
| 447 | </ul></li> |
| 448 | </ol> |
| 449 | |
| 450 | <hr> |
| 451 | |
| 452 | <h4>value = Compartment_isSetSize(SBMLCompartment)</h4> |
| 453 | |
| 454 | <p>Takes</p> |
| 455 | |
| 456 | <ol> |
| 457 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 458 | </ol> |
| 459 | |
| 460 | <p>Returns</p> |
| 461 | |
| 462 | <ol> |
| 463 | <li>value = |
| 464 | <ul> |
| 465 | <li>1 if the size attribute is set</li> |
| 466 | <li>0 otherwise</li> |
| 467 | </ul></li> |
| 468 | </ol> |
| 469 | |
| 470 | <hr> |
| 471 | |
| 472 | <h4>value = Compartment_isSetSpatialDimensions(SBMLCompartment)</h4> |
| 473 | |
| 474 | <p>Takes</p> |
| 475 | |
| 476 | <ol> |
| 477 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 478 | </ol> |
| 479 | |
| 480 | <p>Returns</p> |
| 481 | |
| 482 | <ol> |
| 483 | <li>value = |
| 484 | <ul> |
| 485 | <li>1 if the spatialDimensions attribute is set</li> |
| 486 | <li>0 otherwise</li> |
| 487 | </ul></li> |
| 488 | </ol> |
| 489 | |
| 490 | <hr> |
| 491 | |
| 492 | <h4>value = Compartment_isSetUnits(SBMLCompartment)</h4> |
| 493 | |
| 494 | <p>Takes</p> |
| 495 | |
| 496 | <ol> |
| 497 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 498 | </ol> |
| 499 | |
| 500 | <p>Returns</p> |
| 501 | |
| 502 | <ol> |
| 503 | <li>value = |
| 504 | <ul> |
| 505 | <li>1 if the units attribute is set</li> |
| 506 | <li>0 otherwise</li> |
| 507 | </ul></li> |
| 508 | </ol> |
| 509 | |
| 510 | <hr> |
| 511 | |
| 512 | <h4>value = Compartment_isSetVolume(SBMLCompartment)</h4> |
| 513 | |
| 514 | <p>Takes</p> |
| 515 | |
| 516 | <ol> |
| 517 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 518 | </ol> |
| 519 | |
| 520 | <p>Returns</p> |
| 521 | |
| 522 | <ol> |
| 523 | <li>value = |
| 524 | <ul> |
| 525 | <li>1 if the volume attribute is set</li> |
| 526 | <li>0 otherwise</li> |
| 527 | </ul></li> |
| 528 | </ol> |
| 529 | |
| 530 | <hr> |
| 531 | |
| 532 | <h4>SBMLCompartment = Compartment_setCompartmentType(SBMLCompartment, compartmentType)</h4> |
| 533 | |
| 534 | <p>Takes</p> |
| 535 | |
| 536 | <ol> |
| 537 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 538 | <li>compartmentType; a string representing the compartmentType to be set</li> |
| 539 | </ol> |
| 540 | |
| 541 | <p>Returns</p> |
| 542 | |
| 543 | <ol> |
| 544 | <li>the SBML Compartment structure with the new value for the compartmentType attribute</li> |
| 545 | </ol> |
| 546 | |
| 547 | <hr> |
| 548 | |
| 549 | <h4>SBMLCompartment = Compartment_setConstant(SBMLCompartment, constant)</h4> |
| 550 | |
| 551 | <p>Takes</p> |
| 552 | |
| 553 | <ol> |
| 554 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 555 | <li>constant, an integer (0/1) representing the value of constant to be set</li> |
| 556 | </ol> |
| 557 | |
| 558 | <p>Returns</p> |
| 559 | |
| 560 | <ol> |
| 561 | <li>the SBML Compartment structure with the new value for the constant attribute</li> |
| 562 | </ol> |
| 563 | |
| 564 | <hr> |
| 565 | |
| 566 | <h4>SBMLCompartment = Compartment_setId(SBMLCompartment, id)</h4> |
| 567 | |
| 568 | <p>Takes</p> |
| 569 | |
| 570 | <ol> |
| 571 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 572 | <li>id; a string representing the id to be set</li> |
| 573 | </ol> |
| 574 | |
| 575 | <p>Returns</p> |
| 576 | |
| 577 | <ol> |
| 578 | <li>the SBML Compartment structure with the new value for the id attribute</li> |
| 579 | </ol> |
| 580 | |
| 581 | <hr> |
| 582 | |
| 583 | <h4>SBMLCompartment = Compartment_setMetaid(SBMLCompartment, metaid)</h4> |
| 584 | |
| 585 | <p>Takes</p> |
| 586 | |
| 587 | <ol> |
| 588 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 589 | <li>metaid; a string representing the metaid to be set</li> |
| 590 | </ol> |
| 591 | |
| 592 | <p>Returns</p> |
| 593 | |
| 594 | <ol> |
| 595 | <li>the SBML Compartment structure with the new value for the metaid attribute</li> |
| 596 | </ol> |
| 597 | |
| 598 | <hr> |
| 599 | |
| 600 | <h4>SBMLCompartment = Compartment_setName(SBMLCompartment, name)</h4> |
| 601 | |
| 602 | <p>Takes</p> |
| 603 | |
| 604 | <ol> |
| 605 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 606 | <li>name; a string representing the name to be set</li> |
| 607 | </ol> |
| 608 | |
| 609 | <p>Returns</p> |
| 610 | |
| 611 | <ol> |
| 612 | <li>the SBML Compartment structure with the new value for the name attribute</li> |
| 613 | </ol> |
| 614 | |
| 615 | <hr> |
| 616 | |
| 617 | <h4>SBMLCompartment = Compartment_setOutside(SBMLCompartment, outside)</h4> |
| 618 | |
| 619 | <p>Takes</p> |
| 620 | |
| 621 | <ol> |
| 622 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 623 | <li>outside; a string representing the outside to be set</li> |
| 624 | </ol> |
| 625 | |
| 626 | <p>Returns</p> |
| 627 | |
| 628 | <ol> |
| 629 | <li>the SBML Compartment structure with the new value for the outside attribute</li> |
| 630 | </ol> |
| 631 | |
| 632 | <hr> |
| 633 | |
| 634 | <h4>SBMLCompartment = Compartment_setSBOTerm(SBMLCompartment, sboTerm)</h4> |
| 635 | |
| 636 | <p>Takes</p> |
| 637 | |
| 638 | <ol> |
| 639 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 640 | <li>sboTerm, an integer representing the sboTerm to be set</li> |
| 641 | </ol> |
| 642 | |
| 643 | <p>Returns</p> |
| 644 | |
| 645 | <ol> |
| 646 | <li>the SBML Compartment structure with the new value for the sboTerm attribute</li> |
| 647 | </ol> |
| 648 | |
| 649 | <hr> |
| 650 | |
| 651 | <h4>SBMLCompartment = Compartment_setSize(SBMLCompartment, size)</h4> |
| 652 | |
| 653 | <p>Takes</p> |
| 654 | |
| 655 | <ol> |
| 656 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 657 | <li>size; number representing the value of size to be set</li> |
| 658 | </ol> |
| 659 | |
| 660 | <p>Returns</p> |
| 661 | |
| 662 | <ol> |
| 663 | <li>the SBML Compartment structure with the new value for the size attribute</li> |
| 664 | </ol> |
| 665 | |
| 666 | <hr> |
| 667 | |
| 668 | <h4>SBMLCompartment = Compartment_setSpatialDimensions(SBMLCompartment, spatialDimensions)</h4> |
| 669 | |
| 670 | <p>Takes</p> |
| 671 | |
| 672 | <ol> |
| 673 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 674 | <li>spatialDimensions; number representing the value of spatialDimensions to be set</li> |
| 675 | </ol> |
| 676 | |
| 677 | <p>Returns</p> |
| 678 | |
| 679 | <ol> |
| 680 | <li>the SBML Compartment structure with the new value for the spatialDimensions attribute</li> |
| 681 | </ol> |
| 682 | |
| 683 | <hr> |
| 684 | |
| 685 | <h4>SBMLCompartment = Compartment_setUnits(SBMLCompartment, units)</h4> |
| 686 | |
| 687 | <p>Takes</p> |
| 688 | |
| 689 | <ol> |
| 690 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 691 | <li>units; a string representing the units to be set</li> |
| 692 | </ol> |
| 693 | |
| 694 | <p>Returns</p> |
| 695 | |
| 696 | <ol> |
| 697 | <li>the SBML Compartment structure with the new value for the units attribute</li> |
| 698 | </ol> |
| 699 | |
| 700 | <hr> |
| 701 | |
| 702 | <h4>SBMLCompartment = Compartment_setVolume(SBMLCompartment, volume)</h4> |
| 703 | |
| 704 | <p>Takes</p> |
| 705 | |
| 706 | <ol> |
| 707 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 708 | <li>volume; number representing the value of volume to be set</li> |
| 709 | </ol> |
| 710 | |
| 711 | <p>Returns</p> |
| 712 | |
| 713 | <ol> |
| 714 | <li>the SBML Compartment structure with the new value for the volume attribute</li> |
| 715 | </ol> |
| 716 | |
| 717 | <hr> |
| 718 | |
| 719 | <h4>SBMLCompartment = Compartment_unsetCompartmentType(SBMLCompartment)</h4> |
| 720 | |
| 721 | <p>Takes</p> |
| 722 | |
| 723 | <ol> |
| 724 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 725 | </ol> |
| 726 | |
| 727 | <p>Returns</p> |
| 728 | |
| 729 | <ol> |
| 730 | <li>the SBML Compartment structure with the compartmentType attribute unset</li> |
| 731 | </ol> |
| 732 | |
| 733 | <hr> |
| 734 | |
| 735 | <h4>SBMLCompartment = Compartment_unsetId(SBMLCompartment)</h4> |
| 736 | |
| 737 | <p>Takes</p> |
| 738 | |
| 739 | <ol> |
| 740 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 741 | </ol> |
| 742 | |
| 743 | <p>Returns</p> |
| 744 | |
| 745 | <ol> |
| 746 | <li>the SBML Compartment structure with the id attribute unset</li> |
| 747 | </ol> |
| 748 | |
| 749 | <hr> |
| 750 | |
| 751 | <h4>SBMLCompartment = Compartment_unsetMetaid(SBMLCompartment)</h4> |
| 752 | |
| 753 | <p>Takes</p> |
| 754 | |
| 755 | <ol> |
| 756 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 757 | </ol> |
| 758 | |
| 759 | <p>Returns</p> |
| 760 | |
| 761 | <ol> |
| 762 | <li>the SBML Compartment structure with the metaid attribute unset</li> |
| 763 | </ol> |
| 764 | |
| 765 | <hr> |
| 766 | |
| 767 | <h4>SBMLCompartment = Compartment_unsetName(SBMLCompartment)</h4> |
| 768 | |
| 769 | <p>Takes</p> |
| 770 | |
| 771 | <ol> |
| 772 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 773 | </ol> |
| 774 | |
| 775 | <p>Returns</p> |
| 776 | |
| 777 | <ol> |
| 778 | <li>the SBML Compartment structure with the name attribute unset</li> |
| 779 | </ol> |
| 780 | |
| 781 | <hr> |
| 782 | |
| 783 | <h4>SBMLCompartment = Compartment_unsetOutside(SBMLCompartment)</h4> |
| 784 | |
| 785 | <p>Takes</p> |
| 786 | |
| 787 | <ol> |
| 788 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 789 | </ol> |
| 790 | |
| 791 | <p>Returns</p> |
| 792 | |
| 793 | <ol> |
| 794 | <li>the SBML Compartment structure with the outside attribute unset</li> |
| 795 | </ol> |
| 796 | |
| 797 | <hr> |
| 798 | |
| 799 | <h4>SBMLCompartment = Compartment_unsetSBOTerm(SBMLCompartment)</h4> |
| 800 | |
| 801 | <p>Takes</p> |
| 802 | |
| 803 | <ol> |
| 804 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 805 | </ol> |
| 806 | |
| 807 | <p>Returns</p> |
| 808 | |
| 809 | <ol> |
| 810 | <li>the SBML Compartment structure with the sboTerm attribute unset</li> |
| 811 | </ol> |
| 812 | |
| 813 | <hr> |
| 814 | |
| 815 | <h4>SBMLCompartment = Compartment_unsetSize(SBMLCompartment)</h4> |
| 816 | |
| 817 | <p>Takes</p> |
| 818 | |
| 819 | <ol> |
| 820 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 821 | </ol> |
| 822 | |
| 823 | <p>Returns</p> |
| 824 | |
| 825 | <ol> |
| 826 | <li>the SBML Compartment structure with the size attribute unset</li> |
| 827 | </ol> |
| 828 | |
| 829 | <hr> |
| 830 | |
| 831 | <h4>SBMLCompartment = Compartment_unsetSpatialDimensions(SBMLCompartment)</h4> |
| 832 | |
| 833 | <p>Takes</p> |
| 834 | |
| 835 | <ol> |
| 836 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 837 | </ol> |
| 838 | |
| 839 | <p>Returns</p> |
| 840 | |
| 841 | <ol> |
| 842 | <li>the SBML Compartment structure with the spatialDimensions attribute unset</li> |
| 843 | </ol> |
| 844 | |
| 845 | <hr> |
| 846 | |
| 847 | <h4>SBMLCompartment = Compartment_unsetUnits(SBMLCompartment)</h4> |
| 848 | |
| 849 | <p>Takes</p> |
| 850 | |
| 851 | <ol> |
| 852 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 853 | </ol> |
| 854 | |
| 855 | <p>Returns</p> |
| 856 | |
| 857 | <ol> |
| 858 | <li>the SBML Compartment structure with the units attribute unset</li> |
| 859 | </ol> |
| 860 | |
| 861 | <hr> |
| 862 | |
| 863 | <h4>SBMLCompartment = Compartment_unsetVolume(SBMLCompartment)</h4> |
| 864 | |
| 865 | <p>Takes</p> |
| 866 | |
| 867 | <ol> |
| 868 | <li>SBMLCompartment, an SBML Compartment structure</li> |
| 869 | </ol> |
| 870 | |
| 871 | <p>Returns</p> |
| 872 | |
| 873 | <ol> |
| 874 | <li>the SBML Compartment structure with the volume attribute unset</li> |
| 875 | </ol> |
| 876 | |
| 877 | <hr> |