Debian Codegraph @

docs/structure-functions/rule.html

raw symbols SCIP
1 <h3>MATLAB<em>SBML</em>STRUCTURE_FUNCTIONS\RULE</h3>
2
3 <p>The functions allow users to create and work with the SBML Rule structure.</p>
4
5 <p>Function are:</p>
6
7 <hr>
8
9 <h4>Rule = Rule_create(level(optional), version(optional) )</h4>
10
11 <p>Takes</p>
12
13 <ol>
14 <li>level, an integer representing an SBML level (optional)</li>
15 <li>version, an integer representing an SBML version (optional)</li>
16 </ol>
17
18 <p>Returns</p>
19
20 <ol>
21 <li>a MATLAB_SBML Rule structure of the appropriate level and version</li>
22 </ol>
23
24 <p><em>NOTE:</em> the optional level and version preserve backwards compatibility
25 a missing version argument will default to L1V2; L2V4 or L3V1
26 missing both arguments will default to L3V1</p>
27
28 <hr>
29
30 <h4>formula = Rule_getFormula(SBMLRule)</h4>
31
32 <p>Takes</p>
33
34 <ol>
35 <li>SBMLRule, an SBML Rule structure</li>
36 </ol>
37
38 <p>Returns</p>
39
40 <ol>
41 <li>the value of the formula attribute</li>
42 </ol>
43
44 <hr>
45
46 <h4>sboTerm = Rule_getSBOTerm(SBMLRule)</h4>
47
48 <p>Takes</p>
49
50 <ol>
51 <li>SBMLRule, an SBML Rule structure</li>
52 </ol>
53
54 <p>Returns</p>
55
56 <ol>
57 <li>the value of the sboTerm attribute</li>
58 </ol>
59
60 <hr>
61
62 <h4>value = Rule_isSetFormula(SBMLRule)</h4>
63
64 <p>Takes</p>
65
66 <ol>
67 <li>SBMLRule, an SBML Rule structure</li>
68 </ol>
69
70 <p>Returns</p>
71
72 <ol>
73 <li>value =
74 <ul>
75 <li>1 if the formula attribute is set</li>
76 <li>0 otherwise</li>
77 </ul></li>
78 </ol>
79
80 <hr>
81
82 <h4>value = Rule_isSetSBOTerm(SBMLRule)</h4>
83
84 <p>Takes</p>
85
86 <ol>
87 <li>SBMLRule, an SBML Rule structure</li>
88 </ol>
89
90 <p>Returns</p>
91
92 <ol>
93 <li>value =
94 <ul>
95 <li>1 if the sboTerm attribute is set</li>
96 <li>0 otherwise</li>
97 </ul></li>
98 </ol>
99
100 <hr>
101
102 <h4>SBMLRule = Rule_setFormula(SBMLRule, formula)</h4>
103
104 <p>Takes</p>
105
106 <ol>
107 <li>SBMLRule, an SBML Rule structure</li>
108 <li>formula; a string representing the formula to be set</li>
109 </ol>
110
111 <p>Returns</p>
112
113 <ol>
114 <li>the SBML Rule structure with the new value for the formula attribute</li>
115 </ol>
116
117 <hr>
118
119 <h4>SBMLRule = Rule_setSBOTerm(SBMLRule, sboTerm)</h4>
120
121 <p>Takes</p>
122
123 <ol>
124 <li>SBMLRule, an SBML Rule structure</li>
125 <li>sboTerm, an integer representing the sboTerm to be set</li>
126 </ol>
127
128 <p>Returns</p>
129
130 <ol>
131 <li>the SBML Rule structure with the new value for the sboTerm attribute</li>
132 </ol>
133
134 <hr>
135
136 <h4>SBMLRule = Rule_unsetFormula(SBMLRule)</h4>
137
138 <p>Takes</p>
139
140 <ol>
141 <li>SBMLRule, an SBML Rule structure</li>
142 </ol>
143
144 <p>Returns</p>
145
146 <ol>
147 <li>the SBML Rule structure with the formula attribute unset</li>
148 </ol>
149
150 <hr>
151
152 <h4>SBMLRule = Rule_unsetSBOTerm(SBMLRule)</h4>
153
154 <p>Takes</p>
155
156 <ol>
157 <li>SBMLRule, an SBML Rule structure</li>
158 </ol>
159
160 <p>Returns</p>
161
162 <ol>
163 <li>the SBML Rule structure with the sboTerm attribute unset</li>
164 </ol>
165
166 <hr>