Debian Codegraph @

docs/structure-functions/unitDefinition.html

raw symbols SCIP
1 <h3>MATLAB<em>SBML</em>STRUCTURE_FUNCTIONS\UNITDEFINITION</h3>
2
3 <p>The functions allow users to create and work with the SBML UnitDefinition structure.</p>
4
5 <p>Function are:</p>
6
7 <hr>
8
9 <h4>SBMLUnitDefinition = UnitDefinition_addUnit(SBMLUnitDefinition, SBMLUnit)</h4>
10
11 <p>Takes</p>
12
13 <ol>
14 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
15 <li>SBMLUnit, an SBML Unit structure</li>
16 </ol>
17
18 <p>Returns</p>
19
20 <ol>
21 <li>the SBML UnitDefinition structure with the SBML Unit structure added</li>
22 </ol>
23
24 <hr>
25
26 <h4>UnitDefinition = UnitDefinition_create(level(optional), version(optional) )</h4>
27
28 <p>Takes</p>
29
30 <ol>
31 <li>level, an integer representing an SBML level (optional)</li>
32 <li>version, an integer representing an SBML version (optional)</li>
33 </ol>
34
35 <p>Returns</p>
36
37 <ol>
38 <li>a MATLAB_SBML UnitDefinition structure of the appropriate level and version</li>
39 </ol>
40
41 <p><em>NOTE:</em> the optional level and version preserve backwards compatibility
42 a missing version argument will default to L1V2; L2V4 or L3V1
43 missing both arguments will default to L3V1</p>
44
45 <hr>
46
47 <h4>SBMLUnitDefinition = UnitDefinition_createUnit(SBMLUnitDefinition)</h4>
48
49 <p>Takes</p>
50
51 <ol>
52 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
53 </ol>
54
55 <p>Returns</p>
56
57 <ol>
58 <li>the SBML UnitDefinition structure with a new SBML Unit structure added</li>
59 </ol>
60
61 <hr>
62
63 <h4>id = UnitDefinition_getId(SBMLUnitDefinition)</h4>
64
65 <p>Takes</p>
66
67 <ol>
68 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
69 </ol>
70
71 <p>Returns</p>
72
73 <ol>
74 <li>the value of the id attribute</li>
75 </ol>
76
77 <hr>
78
79 <h4>unit = UnitDefinition_getListOfUnits(SBMLUnitDefinition)</h4>
80
81 <p>Takes</p>
82
83 <ol>
84 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
85 </ol>
86
87 <p>Returns</p>
88
89 <ol>
90 <li>an array of the unit structures</li>
91 </ol>
92
93 <hr>
94
95 <h4>metaid = UnitDefinition_getMetaid(SBMLUnitDefinition)</h4>
96
97 <p>Takes</p>
98
99 <ol>
100 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
101 </ol>
102
103 <p>Returns</p>
104
105 <ol>
106 <li>the value of the metaid attribute</li>
107 </ol>
108
109 <hr>
110
111 <h4>name = UnitDefinition_getName(SBMLUnitDefinition)</h4>
112
113 <p>Takes</p>
114
115 <ol>
116 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
117 </ol>
118
119 <p>Returns</p>
120
121 <ol>
122 <li>the value of the name attribute</li>
123 </ol>
124
125 <hr>
126
127 <h4>numUnits = UnitDefinition_getNumUnits(SBMLUnitDefinition)</h4>
128
129 <p>Takes</p>
130
131 <ol>
132 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
133 </ol>
134
135 <p>Returns</p>
136
137 <ol>
138 <li>the value of the numUnits attribute</li>
139 </ol>
140
141 <hr>
142
143 <h4>sboTerm = UnitDefinition_getSBOTerm(SBMLUnitDefinition)</h4>
144
145 <p>Takes</p>
146
147 <ol>
148 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
149 </ol>
150
151 <p>Returns</p>
152
153 <ol>
154 <li>the value of the sboTerm attribute</li>
155 </ol>
156
157 <hr>
158
159 <h4>unit = UnitDefinition_getUnit(SBMLUnitDefinition, index)</h4>
160
161 <p>Takes</p>
162
163 <ol>
164 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
165 <li>index, an integer representing the index of SBML Unit structure</li>
166 </ol>
167
168 <p>Returns</p>
169
170 <ol>
171 <li>the SBML Unit structure at the indexed position</li>
172 </ol>
173
174 <hr>
175
176 <h4>value = UnitDefinition_isSetId(SBMLUnitDefinition)</h4>
177
178 <p>Takes</p>
179
180 <ol>
181 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
182 </ol>
183
184 <p>Returns</p>
185
186 <ol>
187 <li>value =
188 <ul>
189 <li>1 if the id attribute is set</li>
190 <li>0 otherwise</li>
191 </ul></li>
192 </ol>
193
194 <hr>
195
196 <h4>value = UnitDefinition_isSetMetaid(SBMLUnitDefinition)</h4>
197
198 <p>Takes</p>
199
200 <ol>
201 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
202 </ol>
203
204 <p>Returns</p>
205
206 <ol>
207 <li>value =
208 <ul>
209 <li>1 if the metaid attribute is set</li>
210 <li>0 otherwise</li>
211 </ul></li>
212 </ol>
213
214 <hr>
215
216 <h4>value = UnitDefinition_isSetName(SBMLUnitDefinition)</h4>
217
218 <p>Takes</p>
219
220 <ol>
221 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
222 </ol>
223
224 <p>Returns</p>
225
226 <ol>
227 <li>value =
228 <ul>
229 <li>1 if the name attribute is set</li>
230 <li>0 otherwise</li>
231 </ul></li>
232 </ol>
233
234 <hr>
235
236 <h4>value = UnitDefinition_isSetSBOTerm(SBMLUnitDefinition)</h4>
237
238 <p>Takes</p>
239
240 <ol>
241 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
242 </ol>
243
244 <p>Returns</p>
245
246 <ol>
247 <li>value =
248 <ul>
249 <li>1 if the sboTerm attribute is set</li>
250 <li>0 otherwise</li>
251 </ul></li>
252 </ol>
253
254 <hr>
255
256 <h4>SBMLUnitDefinition = UnitDefinition_setId(SBMLUnitDefinition, id)</h4>
257
258 <p>Takes</p>
259
260 <ol>
261 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
262 <li>id; a string representing the id to be set</li>
263 </ol>
264
265 <p>Returns</p>
266
267 <ol>
268 <li>the SBML UnitDefinition structure with the new value for the id attribute</li>
269 </ol>
270
271 <hr>
272
273 <h4>SBMLUnitDefinition = UnitDefinition_setMetaid(SBMLUnitDefinition, metaid)</h4>
274
275 <p>Takes</p>
276
277 <ol>
278 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
279 <li>metaid; a string representing the metaid to be set</li>
280 </ol>
281
282 <p>Returns</p>
283
284 <ol>
285 <li>the SBML UnitDefinition structure with the new value for the metaid attribute</li>
286 </ol>
287
288 <hr>
289
290 <h4>SBMLUnitDefinition = UnitDefinition_setName(SBMLUnitDefinition, name)</h4>
291
292 <p>Takes</p>
293
294 <ol>
295 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
296 <li>name; a string representing the name to be set</li>
297 </ol>
298
299 <p>Returns</p>
300
301 <ol>
302 <li>the SBML UnitDefinition structure with the new value for the name attribute</li>
303 </ol>
304
305 <hr>
306
307 <h4>SBMLUnitDefinition = UnitDefinition_setSBOTerm(SBMLUnitDefinition, sboTerm)</h4>
308
309 <p>Takes</p>
310
311 <ol>
312 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
313 <li>sboTerm, an integer representing the sboTerm to be set</li>
314 </ol>
315
316 <p>Returns</p>
317
318 <ol>
319 <li>the SBML UnitDefinition structure with the new value for the sboTerm attribute</li>
320 </ol>
321
322 <hr>
323
324 <h4>SBMLUnitDefinition = UnitDefinition_unsetId(SBMLUnitDefinition)</h4>
325
326 <p>Takes</p>
327
328 <ol>
329 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
330 </ol>
331
332 <p>Returns</p>
333
334 <ol>
335 <li>the SBML UnitDefinition structure with the id attribute unset</li>
336 </ol>
337
338 <hr>
339
340 <h4>SBMLUnitDefinition = UnitDefinition_unsetMetaid(SBMLUnitDefinition)</h4>
341
342 <p>Takes</p>
343
344 <ol>
345 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
346 </ol>
347
348 <p>Returns</p>
349
350 <ol>
351 <li>the SBML UnitDefinition structure with the metaid attribute unset</li>
352 </ol>
353
354 <hr>
355
356 <h4>SBMLUnitDefinition = UnitDefinition_unsetName(SBMLUnitDefinition)</h4>
357
358 <p>Takes</p>
359
360 <ol>
361 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
362 </ol>
363
364 <p>Returns</p>
365
366 <ol>
367 <li>the SBML UnitDefinition structure with the name attribute unset</li>
368 </ol>
369
370 <hr>
371
372 <h4>SBMLUnitDefinition = UnitDefinition_unsetSBOTerm(SBMLUnitDefinition)</h4>
373
374 <p>Takes</p>
375
376 <ol>
377 <li>SBMLUnitDefinition, an SBML UnitDefinition structure</li>
378 </ol>
379
380 <p>Returns</p>
381
382 <ol>
383 <li>the SBML UnitDefinition structure with the sboTerm attribute unset</li>
384 </ol>
385
386 <hr>