.KeyWordIO.readSizeCSV

Determined number of rows and columns of CSV file

Interface

function readSizeCSV
  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";
  output Integer col "Number of columns";
end readSizeCSV;

Generated at 2025-05-09T18:20:02Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos