Subsections
Event variable delay
Events
Similar to an event delay but the delay time is read on the regular
input port.
Set parameter of variable event delay |
|
Initial event firing time ( 0 if absent) |
-1 |
- Initial event firing time : time an intial activation is
programmed on the output event port. If set to a value less than zero,
no event is programmed.
- always active: no
- direct-feedthrough: no
- zero-crossing: no
- mode: no
- number/sizes of inputs: 1 / 1
- number/sizes of outputs: 0 /
- number/sizes of activation inputs: 1 / 1
- number/sizes of activation outputs: 1 / 1
- continuous-time state: no
- discrete-time state: no
- name of computational function: evtvardly
scilab/macros/scicos_blocks/events/EVTVARDLY.sci
#include "scicos_block.h"
#include <math.h>
void evtvardly(scicos_block *block,int flag)
{
if (flag==3){
block->evout[0]=block->inptr[0][0];
}
}
Ramine Nikoukhah
2004-06-22