Subsections

- Library
- Description
- Dialog Box
- Default properties
- Interfacing function
- Computational function (type 4)

##
Event variable delay

### Library

Events

### Description

### Dialog Box

Set parameter of variable event delay |
Initial event firing time (0 if absent) | -1

- Initial event firing time : YYYY

### Default properties

- 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

### Interfacing function

`scilab/macros/scicos_blocks/events/EVTVARDLY.sci`

### Computational function (type 4)

    #include "scicos_block.h"
    #include <math.h>

    void evtvardly(scicos_block *block,int flag)
    {
      if (flag==3){
        block->evout[0]=block->inptr[0][0];
      }
    }