Discrete buffer generator block
This block is a discrete buffer that allow to give data already presents in a Scilab matrix, in a Scilab variable defined in the Scicos context or globally defined.
- Initial buffer state
Matrix of real. Set the (initial) value of the buffer.
The product of the dimensions of this parameter gives the total size the buffer.
One can use a scilab matrix (e.g [1.1,2;3.08,4], zeros(1e2,10),...), a symbolic variable already defined in the scicos context or a global scilab variable.
Properties : Type 'vec' of size -1.
- Size of outputs
Integer. Give the vector size of the regular output.
This size must be less or equal than the product of the dimension of the buffer.
Properties : Type 'vec' of size 1.
- Initial counter value
Integer. This parameter gives the initial index in the buffer when the simulation begins.
This value must be less than the size of the buffer.
Properties : Type 'vec' of size 1.
- always active: no
- direct-feedthrough: no
- zero-crossing: no
- mode: no
- regular outputs:
- port 1 : size [16,1] / type 1
- number/sizes of activation inputs: 1
- number/sizes of activation outputs: 0
- continuous-time state: no
- discrete-time state: yes
- object discrete-time state: no
- name of computational function: z_gen
- MODNUMCOS/macros/scicos_blocks/Sources/ZGEN_c.sci [view code]
- MODNUMCOS/routines/sources/z_gen.c (Type 4) [view code]
A. Layec