Scicos Block
fr - eng

##
Read from file

### Contents

- Read from file
  - Description
  - Dialog box
  - Default properties
  - Interfacing function
  - Computational function

### Description

This block allows user to read data in a file, in formatted or binary mode. Output record selection and Time record selection allows the user to select data among file records. Each call to the block advance one record in the file.
The pair block is WFILE.

### Dialog box

- Time record selection
  The parameter description 1.
  Properties : Type 'vec' of size -1.

- Outputs record selection
  The parameter description 2.
  Properties : Type 'vec' of size -1.

- Input file name
  The parameter description 3.
  Properties : Type 'str' of size 1.

- Input Format
  The parameter description 4.
  Properties : Type 'str' of size 1.

- Buffer size
  The parameter description 5.
  Properties : Type 'vec' of size 1.

### Default properties

- always active: no
- direct-feedthrough: no
- zero-crossing: no
- mode: no
- regular outputs:
  - port 1 : size [1,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: readf4

### Interfacing function

- SCI/macros/scicos_blocks/Sources/RFILE.sci [view code]

### Computational function

- SCI/routines/scicos/readf4.c (Type 4) [view code]