modelReadStringCSV
Read string matrix from CSV file
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | rowHeader | 1 | Row index of header |
| Integer | rowUnits | 2 | Row index of units |
| Boolean | cache | false | Read file before compiling, if true |
| String | csvTabFileName | Modelica.Utilities.Files.loadResource("modelica://KeyWordIO/Resources/csv/case.csv") | |
| String[1,:] | header | KeyWordIO.readStringCSV(csvTabFileName, rowHeader, rowHeader, 1, 4, delimiter = "\t", cache = cache) | |
| String[1,:] | units | KeyWordIO.readStringCSV(csvTabFileName, rowUnits, rowUnits, 1, 4, delimiter = "\t", cache = cache) |