Data table from file

| Vectorized |
in the palette on the schematic

The block reads the data table from the file. The value of the corresponding column of the table is fed to each output of the block. The block reads once when the task starts. The characters "space", "tabulation", ";", "|", "," can be used as separators between the characters of the table. The end of the row is the characters of the line feed and the return of the carriage.

Inputs

none

Outputs

  • output_n - output containing a table column with the number n. The number of outputs is set in the block properties.

Properties:

  • Name of the file with the table – the relative path to the table file;
  • Number of columns in the table – corresponds to the number of outputs. The dimensions of the outputs are equal to the number of rows in the table.

Parameters

none

Table-file example

1,4,7
2,5,8
3,6,9

The contents of this file will be represented by a block with three output ports as vectors [1, 2, 3], [4, 5, 6], [7, 8, 9].