Debian Codegraph @

docs/structure-functions/unit.html

raw symbols SCIP
1 <style type='text/css'>
2 /*/*/ /*<![CDATA[*/
3 @import "../style.css";
4 /*]]>*/ /* */
5 </style>
6
7 <h3>MATLAB_SBML_STRUCTURE_FUNCTIONS\UNIT</h3>
8
9 <p>The functions allow users to create and work with the SBML Unit structure.</p>
10
11 <p>Function are:</p>
12
13 <hr>
14
15 <h4>Unit = Unit_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 Unit 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>exponent = Unit_getExponent(SBMLUnit)</h4>
37
38 <p>Takes</p>
39
40 <ol>
41 <li>SBMLUnit, an SBML Unit structure</li>
42 </ol>
43
44 <p>Returns</p>
45
46 <ol>
47 <li>the value of the exponent attribute</li>
48 </ol>
49
50 <hr>
51
52 <h4>kind = Unit_getKind(SBMLUnit)</h4>
53
54 <p>Takes</p>
55
56 <ol>
57 <li>SBMLUnit, an SBML Unit structure</li>
58 </ol>
59
60 <p>Returns</p>
61
62 <ol>
63 <li>the value of the kind attribute</li>
64 </ol>
65
66 <hr>
67
68 <h4>metaid = Unit_getMetaid(SBMLUnit)</h4>
69
70 <p>Takes</p>
71
72 <ol>
73 <li>SBMLUnit, an SBML Unit 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>multiplier = Unit_getMultiplier(SBMLUnit)</h4>
85
86 <p>Takes</p>
87
88 <ol>
89 <li>SBMLUnit, an SBML Unit structure</li>
90 </ol>
91
92 <p>Returns</p>
93
94 <ol>
95 <li>the value of the multiplier attribute</li>
96 </ol>
97
98 <hr>
99
100 <h4>offset = Unit_getOffset(SBMLUnit)</h4>
101
102 <p>Takes</p>
103
104 <ol>
105 <li>SBMLUnit, an SBML Unit structure</li>
106 </ol>
107
108 <p>Returns</p>
109
110 <ol>
111 <li>the value of the offset attribute</li>
112 </ol>
113
114 <hr>
115
116 <h4>sboTerm = Unit_getSBOTerm(SBMLUnit)</h4>
117
118 <p>Takes</p>
119
120 <ol>
121 <li>SBMLUnit, an SBML Unit structure</li>
122 </ol>
123
124 <p>Returns</p>
125
126 <ol>
127 <li>the value of the sboTerm attribute</li>
128 </ol>
129
130 <hr>
131
132 <h4>scale = Unit_getScale(SBMLUnit)</h4>
133
134 <p>Takes</p>
135
136 <ol>
137 <li>SBMLUnit, an SBML Unit structure</li>
138 </ol>
139
140 <p>Returns</p>
141
142 <ol>
143 <li>the value of the scale attribute</li>
144 </ol>
145
146 <hr>
147
148 <h4>value = Unit_isSetExponent(SBMLUnit)</h4>
149
150 <p>Takes</p>
151
152 <ol>
153 <li>SBMLUnit, an SBML Unit structure</li>
154 </ol>
155
156 <p>Returns</p>
157
158 <ol>
159 <li>value =
160 <ul>
161 <li>1 if the exponent attribute is set</li>
162 <li>0 otherwise</li>
163 </ul></li>
164 </ol>
165
166 <hr>
167
168 <h4>value = Unit_isSetKind(SBMLUnit)</h4>
169
170 <p>Takes</p>
171
172 <ol>
173 <li>SBMLUnit, an SBML Unit structure</li>
174 </ol>
175
176 <p>Returns</p>
177
178 <ol>
179 <li>value =
180 <ul>
181 <li>1 if the kind attribute is set</li>
182 <li>0 otherwise</li>
183 </ul></li>
184 </ol>
185
186 <hr>
187
188 <h4>value = Unit_isSetMetaid(SBMLUnit)</h4>
189
190 <p>Takes</p>
191
192 <ol>
193 <li>SBMLUnit, an SBML Unit structure</li>
194 </ol>
195
196 <p>Returns</p>
197
198 <ol>
199 <li>value =
200 <ul>
201 <li>1 if the metaid attribute is set</li>
202 <li>0 otherwise</li>
203 </ul></li>
204 </ol>
205
206 <hr>
207
208 <h4>value = Unit_isSetMultiplier(SBMLUnit)</h4>
209
210 <p>Takes</p>
211
212 <ol>
213 <li>SBMLUnit, an SBML Unit structure</li>
214 </ol>
215
216 <p>Returns</p>
217
218 <ol>
219 <li>value =
220 <ul>
221 <li>1 if the multiplier attribute is set</li>
222 <li>0 otherwise</li>
223 </ul></li>
224 </ol>
225
226 <hr>
227
228 <h4>value = Unit_isSetOffset(SBMLUnit)</h4>
229
230 <p>Takes</p>
231
232 <ol>
233 <li>SBMLUnit, an SBML Unit structure</li>
234 </ol>
235
236 <p>Returns</p>
237
238 <ol>
239 <li>value =
240 <ul>
241 <li>1 if the offset attribute is set</li>
242 <li>0 otherwise</li>
243 </ul></li>
244 </ol>
245
246 <hr>
247
248 <h4>value = Unit_isSetSBOTerm(SBMLUnit)</h4>
249
250 <p>Takes</p>
251
252 <ol>
253 <li>SBMLUnit, an SBML Unit structure</li>
254 </ol>
255
256 <p>Returns</p>
257
258 <ol>
259 <li>value =
260 <ul>
261 <li>1 if the sboTerm attribute is set</li>
262 <li>0 otherwise</li>
263 </ul></li>
264 </ol>
265
266 <hr>
267
268 <h4>value = Unit_isSetScale(SBMLUnit)</h4>
269
270 <p>Takes</p>
271
272 <ol>
273 <li>SBMLUnit, an SBML Unit structure</li>
274 </ol>
275
276 <p>Returns</p>
277
278 <ol>
279 <li>value =
280 <ul>
281 <li>1 if the scale attribute is set</li>
282 <li>0 otherwise</li>
283 </ul></li>
284 </ol>
285
286 <hr>
287
288 <h4>SBMLUnit = Unit_setExponent(SBMLUnit, exponent)</h4>
289
290 <p>Takes</p>
291
292 <ol>
293 <li>SBMLUnit, an SBML Unit structure</li>
294 <li>exponent; number representing the value of exponent to be set</li>
295 </ol>
296
297 <p>Returns</p>
298
299 <ol>
300 <li>the SBML Unit structure with the new value for the exponent attribute</li>
301 </ol>
302
303 <hr>
304
305 <h4>SBMLUnit = Unit_setKind(SBMLUnit, kind)</h4>
306
307 <p>Takes</p>
308
309 <ol>
310 <li>SBMLUnit, an SBML Unit structure</li>
311 <li>kind; a string representing the kind to be set</li>
312 </ol>
313
314 <p>Returns</p>
315
316 <ol>
317 <li>the SBML Unit structure with the new value for the kind attribute</li>
318 </ol>
319
320 <hr>
321
322 <h4>SBMLUnit = Unit_setMetaid(SBMLUnit, metaid)</h4>
323
324 <p>Takes</p>
325
326 <ol>
327 <li>SBMLUnit, an SBML Unit structure</li>
328 <li>metaid; a string representing the metaid to be set</li>
329 </ol>
330
331 <p>Returns</p>
332
333 <ol>
334 <li>the SBML Unit structure with the new value for the metaid attribute</li>
335 </ol>
336
337 <hr>
338
339 <h4>SBMLUnit = Unit_setMultiplier(SBMLUnit, multiplier)</h4>
340
341 <p>Takes</p>
342
343 <ol>
344 <li>SBMLUnit, an SBML Unit structure</li>
345 <li>multiplier; number representing the value of multiplier to be set</li>
346 </ol>
347
348 <p>Returns</p>
349
350 <ol>
351 <li>the SBML Unit structure with the new value for the multiplier attribute</li>
352 </ol>
353
354 <hr>
355
356 <h4>SBMLUnit = Unit_setOffset(SBMLUnit, offset)</h4>
357
358 <p>Takes</p>
359
360 <ol>
361 <li>SBMLUnit, an SBML Unit structure</li>
362 <li>offset, an integer representing the offset to be set</li>
363 </ol>
364
365 <p>Returns</p>
366
367 <ol>
368 <li>the SBML Unit structure with the new value for the offset attribute</li>
369 </ol>
370
371 <hr>
372
373 <h4>SBMLUnit = Unit_setSBOTerm(SBMLUnit, sboTerm)</h4>
374
375 <p>Takes</p>
376
377 <ol>
378 <li>SBMLUnit, an SBML Unit structure</li>
379 <li>sboTerm, an integer representing the sboTerm to be set</li>
380 </ol>
381
382 <p>Returns</p>
383
384 <ol>
385 <li>the SBML Unit structure with the new value for the sboTerm attribute</li>
386 </ol>
387
388 <hr>
389
390 <h4>SBMLUnit = Unit_setScale(SBMLUnit, scale)</h4>
391
392 <p>Takes</p>
393
394 <ol>
395 <li>SBMLUnit, an SBML Unit structure</li>
396 <li>scale; number representing the value of scale to be set</li>
397 </ol>
398
399 <p>Returns</p>
400
401 <ol>
402 <li>the SBML Unit structure with the new value for the scale attribute</li>
403 </ol>
404
405 <hr>
406
407 <h4>SBMLUnit = Unit_unsetExponent(SBMLUnit)</h4>
408
409 <p>Takes</p>
410
411 <ol>
412 <li>SBMLUnit, an SBML Unit structure</li>
413 </ol>
414
415 <p>Returns</p>
416
417 <ol>
418 <li>the SBML Unit structure with the exponent attribute unset</li>
419 </ol>
420
421 <hr>
422
423 <h4>SBMLUnit = Unit_unsetKind(SBMLUnit)</h4>
424
425 <p>Takes</p>
426
427 <ol>
428 <li>SBMLUnit, an SBML Unit structure</li>
429 </ol>
430
431 <p>Returns</p>
432
433 <ol>
434 <li>the SBML Unit structure with the kind attribute unset</li>
435 </ol>
436
437 <hr>
438
439 <h4>SBMLUnit = Unit_unsetMetaid(SBMLUnit)</h4>
440
441 <p>Takes</p>
442
443 <ol>
444 <li>SBMLUnit, an SBML Unit structure</li>
445 </ol>
446
447 <p>Returns</p>
448
449 <ol>
450 <li>the SBML Unit structure with the metaid attribute unset</li>
451 </ol>
452
453 <hr>
454
455 <h4>SBMLUnit = Unit_unsetMultiplier(SBMLUnit)</h4>
456
457 <p>Takes</p>
458
459 <ol>
460 <li>SBMLUnit, an SBML Unit structure</li>
461 </ol>
462
463 <p>Returns</p>
464
465 <ol>
466 <li>the SBML Unit structure with the multiplier attribute unset</li>
467 </ol>
468
469 <hr>
470
471 <h4>SBMLUnit = Unit_unsetOffset(SBMLUnit)</h4>
472
473 <p>Takes</p>
474
475 <ol>
476 <li>SBMLUnit, an SBML Unit structure</li>
477 </ol>
478
479 <p>Returns</p>
480
481 <ol>
482 <li>the SBML Unit structure with the offset attribute unset</li>
483 </ol>
484
485 <hr>
486
487 <h4>SBMLUnit = Unit_unsetSBOTerm(SBMLUnit)</h4>
488
489 <p>Takes</p>
490
491 <ol>
492 <li>SBMLUnit, an SBML Unit structure</li>
493 </ol>
494
495 <p>Returns</p>
496
497 <ol>
498 <li>the SBML Unit structure with the sboTerm attribute unset</li>
499 </ol>
500
501 <hr>
502
503 <h4>SBMLUnit = Unit_unsetScale(SBMLUnit)</h4>
504
505 <p>Takes</p>
506
507 <ol>
508 <li>SBMLUnit, an SBML Unit structure</li>
509 </ol>
510
511 <p>Returns</p>
512
513 <ol>
514 <li>the SBML Unit structure with the scale attribute unset</li>
515 </ol>
516
517 <hr>