Debian Codegraph @

docs/structure-functions/event.html

raw symbols SCIP
1 <h3>MATLAB<em>SBML</em>STRUCTURE_FUNCTIONS\EVENT</h3>
2
3 <p>The functions allow users to create and work with the SBML Event structure.</p>
4
5 <p>Function are:</p>
6
7 <hr>
8
9 <h4>SBMLEvent = Event_addEventAssignment(SBMLEvent, SBMLEventAssignment)</h4>
10
11 <p>Takes</p>
12
13 <ol>
14 <li>SBMLEvent, an SBML Event structure</li>
15 <li>SBMLEventAssignment, an SBML EventAssignment structure</li>
16 </ol>
17
18 <p>Returns</p>
19
20 <ol>
21 <li>the SBML Event structure with the SBML EventAssignment structure added</li>
22 </ol>
23
24 <hr>
25
26 <h4>Event = Event_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 Event 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>SBMLEvent = Event_createDelay(SBMLEvent)</h4>
48
49 <p>Takes</p>
50
51 <ol>
52 <li>SBMLEvent, an SBML Event structure</li>
53 </ol>
54
55 <p>Returns</p>
56
57 <ol>
58 <li>the SBML Event structure with a new SBML Delay structure added</li>
59 </ol>
60
61 <hr>
62
63 <h4>SBMLEvent = Event_acreateEventAssignment(SBMLEvent)</h4>
64
65 <p>Takes</p>
66
67 <ol>
68 <li>SBMLEvent, an SBML Event structure</li>
69 </ol>
70
71 <p>Returns</p>
72
73 <ol>
74 <li>the SBML Event structure with a new SBML EventAssignment structure added</li>
75 </ol>
76
77 <hr>
78
79 <h4>SBMLEvent = Event_createPriority(SBMLEvent)</h4>
80
81 <p>Takes</p>
82
83 <ol>
84 <li>SBMLEvent, an SBML Event structure</li>
85 </ol>
86
87 <p>Returns</p>
88
89 <ol>
90 <li>the SBML Event structure with a new SBML Priority structure added</li>
91 </ol>
92
93 <hr>
94
95 <h4>SBMLEvent = Event_createTrigger(SBMLEvent)</h4>
96
97 <p>Takes</p>
98
99 <ol>
100 <li>SBMLEvent, an SBML Event structure</li>
101 </ol>
102
103 <p>Returns</p>
104
105 <ol>
106 <li>the SBML Event structure with a new SBML Trigger structure added</li>
107 </ol>
108
109 <hr>
110
111 <h4>delay = Event_getDelay(SBMLEvent)</h4>
112
113 <p>Takes</p>
114
115 <ol>
116 <li>SBMLEvent, an SBML Event structure</li>
117 </ol>
118
119 <p>Returns</p>
120
121 <ol>
122 <li>the SBML Delay structure</li>
123 </ol>
124
125 <hr>
126
127 <h4>eventAssignment = Event_getEventAssignment(SBMLEvent, index)</h4>
128
129 <p>Takes</p>
130
131 <ol>
132 <li>SBMLEvent, an SBML Event structure</li>
133 <li>index, an integer representing the index of SBML EventAssignment structure</li>
134 </ol>
135
136 <p>Returns</p>
137
138 <ol>
139 <li>the SBML EventAssignment structure at the indexed position</li>
140 </ol>
141
142 <hr>
143
144 <h4>id = Event_getId(SBMLEvent)</h4>
145
146 <p>Takes</p>
147
148 <ol>
149 <li>SBMLEvent, an SBML Event structure</li>
150 </ol>
151
152 <p>Returns</p>
153
154 <ol>
155 <li>the value of the id attribute</li>
156 </ol>
157
158 <hr>
159
160 <h4>eventAssignment = Event_getListOfEventAssignments(SBMLEvent)</h4>
161
162 <p>Takes</p>
163
164 <ol>
165 <li>SBMLEvent, an SBML Event structure</li>
166 </ol>
167
168 <p>Returns</p>
169
170 <ol>
171 <li>an array of the eventAssignment structures</li>
172 </ol>
173
174 <hr>
175
176 <h4>metaid = Event_getMetaid(SBMLEvent)</h4>
177
178 <p>Takes</p>
179
180 <ol>
181 <li>SBMLEvent, an SBML Event structure</li>
182 </ol>
183
184 <p>Returns</p>
185
186 <ol>
187 <li>the value of the metaid attribute</li>
188 </ol>
189
190 <hr>
191
192 <h4>name = Event_getName(SBMLEvent)</h4>
193
194 <p>Takes</p>
195
196 <ol>
197 <li>SBMLEvent, an SBML Event structure</li>
198 </ol>
199
200 <p>Returns</p>
201
202 <ol>
203 <li>the value of the name attribute</li>
204 </ol>
205
206 <hr>
207
208 <h4>num = Event_getNumEventAssignments(SBMLEvent)</h4>
209
210 <p>Takes</p>
211
212 <ol>
213 <li>SBMLEvent, an SBML Event structure</li>
214 </ol>
215
216 <p>Returns</p>
217
218 <ol>
219 <li>the number of SBML EventAssignment structures present in the Event</li>
220 </ol>
221
222 <hr>
223
224 <h4>priority = Event_getPriority(SBMLEvent)</h4>
225
226 <p>Takes</p>
227
228 <ol>
229 <li>SBMLEvent, an SBML Event structure</li>
230 </ol>
231
232 <p>Returns</p>
233
234 <ol>
235 <li>the SBML Priority structure</li>
236 </ol>
237
238 <hr>
239
240 <h4>sboTerm = Event_getSBOTerm(SBMLEvent)</h4>
241
242 <p>Takes</p>
243
244 <ol>
245 <li>SBMLEvent, an SBML Event structure</li>
246 </ol>
247
248 <p>Returns</p>
249
250 <ol>
251 <li>the value of the sboTerm attribute</li>
252 </ol>
253
254 <hr>
255
256 <h4>timeUnits = Event_getTimeUnits(SBMLEvent)</h4>
257
258 <p>Takes</p>
259
260 <ol>
261 <li>SBMLEvent, an SBML Event structure</li>
262 </ol>
263
264 <p>Returns</p>
265
266 <ol>
267 <li>the value of the timeUnits attribute</li>
268 </ol>
269
270 <hr>
271
272 <h4>trigger = Event_getTrigger(SBMLEvent)</h4>
273
274 <p>Takes</p>
275
276 <ol>
277 <li>SBMLEvent, an SBML Event structure</li>
278 </ol>
279
280 <p>Returns</p>
281
282 <ol>
283 <li>the SBML Trigger structure</li>
284 </ol>
285
286 <hr>
287
288 <h4>useValuesFromTriggerTime = Event_getUseValuesFromTriggerTime(SBMLEvent)</h4>
289
290 <p>Takes</p>
291
292 <ol>
293 <li>SBMLEvent, an SBML Event structure</li>
294 </ol>
295
296 <p>Returns</p>
297
298 <ol>
299 <li>the value of the useValuesFromTriggerTime attribute</li>
300 </ol>
301
302 <hr>
303
304 <h4>value = Event_isSetDelay(SBMLEvent)</h4>
305
306 <p>Takes</p>
307
308 <ol>
309 <li>SBMLEvent, an SBML Event structure</li>
310 </ol>
311
312 <p>Returns</p>
313
314 <ol>
315 <li>value =
316 <ul>
317 <li>1 if the delay structure is set</li>
318 <li>0 otherwise</li>
319 </ul></li>
320 </ol>
321
322 <hr>
323
324 <h4>value = Event_isSetId(SBMLEvent)</h4>
325
326 <p>Takes</p>
327
328 <ol>
329 <li>SBMLEvent, an SBML Event structure</li>
330 </ol>
331
332 <p>Returns</p>
333
334 <ol>
335 <li>value =
336 <ul>
337 <li>1 if the id attribute is set</li>
338 <li>0 otherwise</li>
339 </ul></li>
340 </ol>
341
342 <hr>
343
344 <h4>value = Event_isSetMetaid(SBMLEvent)</h4>
345
346 <p>Takes</p>
347
348 <ol>
349 <li>SBMLEvent, an SBML Event structure</li>
350 </ol>
351
352 <p>Returns</p>
353
354 <ol>
355 <li>value =
356 <ul>
357 <li>1 if the metaid attribute is set</li>
358 <li>0 otherwise</li>
359 </ul></li>
360 </ol>
361
362 <hr>
363
364 <h4>value = Event_isSetName(SBMLEvent)</h4>
365
366 <p>Takes</p>
367
368 <ol>
369 <li>SBMLEvent, an SBML Event structure</li>
370 </ol>
371
372 <p>Returns</p>
373
374 <ol>
375 <li>value =
376 <ul>
377 <li>1 if the name attribute is set</li>
378 <li>0 otherwise</li>
379 </ul></li>
380 </ol>
381
382 <hr>
383
384 <h4>value = Event_isSetPriority(SBMLEvent)</h4>
385
386 <p>Takes</p>
387
388 <ol>
389 <li>SBMLEvent, an SBML Event structure</li>
390 </ol>
391
392 <p>Returns</p>
393
394 <ol>
395 <li>value =
396 <ul>
397 <li>1 if the priority structure is set</li>
398 <li>0 otherwise</li>
399 </ul></li>
400 </ol>
401
402 <hr>
403
404 <h4>value = Event_isSetSBOTerm(SBMLEvent)</h4>
405
406 <p>Takes</p>
407
408 <ol>
409 <li>SBMLEvent, an SBML Event structure</li>
410 </ol>
411
412 <p>Returns</p>
413
414 <ol>
415 <li>value =
416 <ul>
417 <li>1 if the sboTerm attribute is set</li>
418 <li>0 otherwise</li>
419 </ul></li>
420 </ol>
421
422 <hr>
423
424 <h4>value = Event_isSetTimeUnits(SBMLEvent)</h4>
425
426 <p>Takes</p>
427
428 <ol>
429 <li>SBMLEvent, an SBML Event structure</li>
430 </ol>
431
432 <p>Returns</p>
433
434 <ol>
435 <li>value =
436 <ul>
437 <li>1 if the timeUnits attribute is set</li>
438 <li>0 otherwise</li>
439 </ul></li>
440 </ol>
441
442 <hr>
443
444 <h4>value = Event_isSetTrigger(SBMLEvent)</h4>
445
446 <p>Takes</p>
447
448 <ol>
449 <li>SBMLEvent, an SBML Event structure</li>
450 </ol>
451
452 <p>Returns</p>
453
454 <ol>
455 <li>value =
456 <ul>
457 <li>1 if the trigger structure is set</li>
458 <li>0 otherwise</li>
459 </ul></li>
460 </ol>
461
462 <hr>
463
464 <h4>SBMLEvent = Event_setDelay(SBMLEvent, SBMLDelay)</h4>
465
466 <p>Takes</p>
467
468 <ol>
469 <li>SBMLEvent, an SBML Event structure</li>
470 <li>SBMLDelay, an SBML Delay structure</li>
471 </ol>
472
473 <p>Returns</p>
474
475 <ol>
476 <li>the SBML Event structure with the new value for the delay field</li>
477 </ol>
478
479 <hr>
480
481 <h4>SBMLEvent = Event_setId(SBMLEvent, id)</h4>
482
483 <p>Takes</p>
484
485 <ol>
486 <li>SBMLEvent, an SBML Event structure</li>
487 <li>id; a string representing the id to be set</li>
488 </ol>
489
490 <p>Returns</p>
491
492 <ol>
493 <li>the SBML Event structure with the new value for the id attribute</li>
494 </ol>
495
496 <hr>
497
498 <h4>SBMLEvent = Event_setMetaid(SBMLEvent, metaid)</h4>
499
500 <p>Takes</p>
501
502 <ol>
503 <li>SBMLEvent, an SBML Event structure</li>
504 <li>metaid; a string representing the metaid to be set</li>
505 </ol>
506
507 <p>Returns</p>
508
509 <ol>
510 <li>the SBML Event structure with the new value for the metaid attribute</li>
511 </ol>
512
513 <hr>
514
515 <h4>SBMLEvent = Event_setName(SBMLEvent, name)</h4>
516
517 <p>Takes</p>
518
519 <ol>
520 <li>SBMLEvent, an SBML Event structure</li>
521 <li>name; a string representing the name to be set</li>
522 </ol>
523
524 <p>Returns</p>
525
526 <ol>
527 <li>the SBML Event structure with the new value for the name attribute</li>
528 </ol>
529
530 <hr>
531
532 <h4>SBMLEvent = Event_setPriority(SBMLEvent, SBMLPriority)</h4>
533
534 <p>Takes</p>
535
536 <ol>
537 <li>SBMLEvent, an SBML Event structure</li>
538 <li>SBMLPriority, an SBML Priority structure</li>
539 </ol>
540
541 <p>Returns</p>
542
543 <ol>
544 <li>the SBML Event structure with the new value for the priority field</li>
545 </ol>
546
547 <hr>
548
549 <h4>SBMLEvent = Event_setSBOTerm(SBMLEvent, sboTerm)</h4>
550
551 <p>Takes</p>
552
553 <ol>
554 <li>SBMLEvent, an SBML Event structure</li>
555 <li>sboTerm, an integer representing the sboTerm to be set</li>
556 </ol>
557
558 <p>Returns</p>
559
560 <ol>
561 <li>the SBML Event structure with the new value for the sboTerm attribute</li>
562 </ol>
563
564 <hr>
565
566 <h4>SBMLEvent = Event_setTimeUnits(SBMLEvent, timeUnits)</h4>
567
568 <p>Takes</p>
569
570 <ol>
571 <li>SBMLEvent, an SBML Event structure</li>
572 <li>timeUnits; a string representing the timeUnits to be set</li>
573 </ol>
574
575 <p>Returns</p>
576
577 <ol>
578 <li>the SBML Event structure with the new value for the timeUnits attribute</li>
579 </ol>
580
581 <hr>
582
583 <h4>SBMLEvent = Event_setTrigger(SBMLEvent, SBMLTrigger)</h4>
584
585 <p>Takes</p>
586
587 <ol>
588 <li>SBMLEvent, an SBML Event structure</li>
589 <li>SBMLTrigger, an SBML Trigger structure</li>
590 </ol>
591
592 <p>Returns</p>
593
594 <ol>
595 <li>the SBML Event structure with the new value for the trigger field</li>
596 </ol>
597
598 <hr>
599
600 <h4>SBMLEvent = Event_setUseValuesFromTriggerTime(SBMLEvent, useValuesFromTriggerTime)</h4>
601
602 <p>Takes</p>
603
604 <ol>
605 <li>SBMLEvent, an SBML Event structure</li>
606 <li>useValuesFromTriggerTime, an integer (0/1) representing the value of useValuesFromTriggerTime to be set</li>
607 </ol>
608
609 <p>Returns</p>
610
611 <ol>
612 <li>the SBML Event structure with the new value for the useValuesFromTriggerTime attribute</li>
613 </ol>
614
615 <hr>
616
617 <h4>SBMLEvent = Event_unsetDelay(SBMLEvent)</h4>
618
619 <p>Takes</p>
620
621 <ol>
622 <li>SBMLEvent, an SBML Event structure</li>
623 </ol>
624
625 <p>Returns</p>
626
627 <ol>
628 <li>the SBML Event structure with the delay field unset</li>
629 </ol>
630
631 <hr>
632
633 <h4>SBMLEvent = Event_unsetId(SBMLEvent)</h4>
634
635 <p>Takes</p>
636
637 <ol>
638 <li>SBMLEvent, an SBML Event structure</li>
639 </ol>
640
641 <p>Returns</p>
642
643 <ol>
644 <li>the SBML Event structure with the id attribute unset</li>
645 </ol>
646
647 <hr>
648
649 <h4>SBMLEvent = Event_unsetMetaid(SBMLEvent)</h4>
650
651 <p>Takes</p>
652
653 <ol>
654 <li>SBMLEvent, an SBML Event structure</li>
655 </ol>
656
657 <p>Returns</p>
658
659 <ol>
660 <li>the SBML Event structure with the metaid attribute unset</li>
661 </ol>
662
663 <hr>
664
665 <h4>SBMLEvent = Event_unsetName(SBMLEvent)</h4>
666
667 <p>Takes</p>
668
669 <ol>
670 <li>SBMLEvent, an SBML Event structure</li>
671 </ol>
672
673 <p>Returns</p>
674
675 <ol>
676 <li>the SBML Event structure with the name attribute unset</li>
677 </ol>
678
679 <hr>
680
681 <h4>SBMLEvent = Event_unsetPriority(SBMLEvent)</h4>
682
683 <p>Takes</p>
684
685 <ol>
686 <li>SBMLEvent, an SBML Event structure</li>
687 </ol>
688
689 <p>Returns</p>
690
691 <ol>
692 <li>the SBML Event structure with the priority field unset</li>
693 </ol>
694
695 <hr>
696
697 <h4>SBMLEvent = Event_unsetSBOTerm(SBMLEvent)</h4>
698
699 <p>Takes</p>
700
701 <ol>
702 <li>SBMLEvent, an SBML Event structure</li>
703 </ol>
704
705 <p>Returns</p>
706
707 <ol>
708 <li>the SBML Event structure with the sboTerm attribute unset</li>
709 </ol>
710
711 <hr>
712
713 <h4>SBMLEvent = Event_unsetTimeUnits(SBMLEvent)</h4>
714
715 <p>Takes</p>
716
717 <ol>
718 <li>SBMLEvent, an SBML Event structure</li>
719 </ol>
720
721 <p>Returns</p>
722
723 <ol>
724 <li>the SBML Event structure with the timeUnits attribute unset</li>
725 </ol>
726
727 <hr>
728
729 <h4>SBMLEvent = Event_unsetTrigger(SBMLEvent)</h4>
730
731 <p>Takes</p>
732
733 <ol>
734 <li>SBMLEvent, an SBML Event structure</li>
735 </ol>
736
737 <p>Returns</p>
738
739 <ol>
740 <li>the SBML Event structure with the trigger field unset</li>
741 </ol>
742
743 <hr>