From file

| Vectorized |
in the palette on the schematic
The block is vectorized, returns the values of table-determined functions calculated by linear interpolation at the output. The table is set as a text file, where the format of each row should be as follows:
<time> < function value 1> … < function value N> 
Прим.: the separation sign of the fractional part in the file should be a dot. The separators of the values in the row can be space characters, tabs, ";", ":". If the line in the file is empty or starts with the characters "$", "/", "{", then it is perceived as a comment and is skipped.

The file is read once when the block is initialized, then interpolation is performed on the basis of the uploaded data.

Inputs

none

Outputs

  • output 1 - the value of the table-defined function at the current moment of the model time.

Properties:

  • Number of functions in the file – the number of function value columns in the text file;
  • Data file name – relative path to the table file;
  • Multiplication coefficient of the argument – the coefficient by which the model time is multiplied during interpolation.

Parameters

none

Example of the file to upload

0.1 1 2 6 9
0.2 6 3 7 10
0.3 3 5 3 9