.KeyWordIO.readColsCSV

Read number of columns from CSV file

Interface

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

Generated at 2025-03-31T18:24:36Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos