
blockTriggeredTableRead
Output single row, increment with Boolean trigger
Extends from Modelica.Blocks.Interfaces.MO (Multiple Output continuous control block).
Parameters
| Type | Name | Default | Description |
| Integer | nout (from MO) | 1 | Number of outputs |
| Boolean | tableOnFile | false | Table is read from file |
| Real | table | [0, 0; 1, 0] | Table data if tableOnFile==false |
| String | filename | "" | |
| String | tablename | "" | |
| Integer | tableSize | if tableOnFile then Utilities.readTableSize(filename, tablename) else {size(table, 1), size(table, 2)} | |
Components
| Type | Name | Default | Description |
| Real | data | if tableOnFile then Utilities.readTable(filename, tablename, tableSize[1], tableSize[2]) else table | |