| 1 | <style type='text/css'> |
| 2 | /*/*/ /*<![CDATA[*/ |
| 3 | @import "style.css"; |
| 4 | /*]]>*/ /* */ |
| 5 | </style> |
| 6 | |
| 7 | <h3>MATLAB_SBML_STRUCTURE_FUNCTIONS</h3> |
| 8 | |
| 9 | <p>These are general functions for working with MATLAB_SBML structures.</p> |
| 10 | |
| 11 | <p>Function are:</p> |
| 12 | |
| 13 | <hr> |
| 14 | |
| 15 | <h4>level = GetLevel(SBMLStructure)</h4> |
| 16 | |
| 17 | <p>Takes </p> |
| 18 | |
| 19 | <ol> |
| 20 | <li>SBMLStructure, any SBML structure</li> |
| 21 | </ol> |
| 22 | |
| 23 | <p>Returns </p> |
| 24 | |
| 25 | <ol> |
| 26 | <li>the SBML level corresponding to this structure</li> |
| 27 | </ol> |
| 28 | |
| 29 | <p><em>NOTE:</em> it is not always possible to uniquely determine the level from a |
| 30 | structure. The most recent SBML level that matches will be reported.</p> |
| 31 | |
| 32 | <hr> |
| 33 | |
| 34 | <h4>[level, version] = GetLevelVersion(SBMLStructure)</h4> |
| 35 | |
| 36 | <p>Takes </p> |
| 37 | |
| 38 | <ol> |
| 39 | <li>SBMLStructure, any SBML structure</li> |
| 40 | </ol> |
| 41 | |
| 42 | <p>Returns </p> |
| 43 | |
| 44 | <ol> |
| 45 | <li>the SBML level corresponding to this structure</li> |
| 46 | <li>the SBML version corresponding to this structure</li> |
| 47 | </ol> |
| 48 | |
| 49 | <p><em>NOTE:</em> it is not always possible to uniquely determine the level/version from a |
| 50 | structure. The most recent SBML level/version that matches will be reported.</p> |
| 51 | |
| 52 | <hr> |
| 53 | |
| 54 | <h4>SBMLStructure = Object_create(typecode, level, version)</h4> |
| 55 | |
| 56 | <p>Takes</p> |
| 57 | |
| 58 | <ol> |
| 59 | <li>typecode; a string representing the type of object being queried</li> |
| 60 | <li>level; an integer representing an SBML level</li> |
| 61 | <li>version; an integer representing an SBML version</li> |
| 62 | </ol> |
| 63 | |
| 64 | <p>Returns</p> |
| 65 | |
| 66 | <ol> |
| 67 | <li>an SBML structure representing the given typecode, level and version</li> |
| 68 | </ol> |
| 69 | |
| 70 | <hr> |
| 71 | |
| 72 | <h4>identical = areIdentical(SBMLStruct1, SBMLStruct2)</h4> |
| 73 | |
| 74 | <p>Takes</p> |
| 75 | |
| 76 | <ol> |
| 77 | <li>SBMLStruct1, any SBML structure</li> |
| 78 | <li>SBMLStruct2, any SBML structure</li> |
| 79 | </ol> |
| 80 | |
| 81 | <p>Returns</p> |
| 82 | |
| 83 | <ol> |
| 84 | <li>identical = |
| 85 | <ul> |
| 86 | <li>1 if the structures are identical i.e. contain same fields and the same values</li> |
| 87 | <li>0 otherwise</li> |
| 88 | </ul></li> |
| 89 | </ol> |
| 90 | |
| 91 | <hr> |