Read number of rows from CSV file
function readRowsCSV extends Modelica.Icons.Function; input String fileName "CSV file name" annotation( Dialog(loadSelector(filter = "Comma separated values (*.csv)", caption = "CSV data file"))); input String delimiter = "\t" "Delimiter of CSV file"; input Boolean cache = false "Read file before compiling, if true"; output Integer row "Number of rows"; end readRowsCSV;