.ExternData.Examples.XLSXTest.computeColSum

Compute column sum

Information

This function computes the column sum of a given column and sheet of an Excel XLSX file.

Interface

function computeColSum
  extends Modelica.Icons.Function;
  input ExternData.Types.ExternXLSXFile xlsx "External Excel XLSX file object";
  input String col = "A" "Column";
  input String sheetName = "" "Sheet name";
  input Integer startRow = 2 "Start row";
  input Integer endRow = ExternData.Functions.XLSX.getArrayRows2D(sheetName = sheetName, xlsx = xlsx) "End row";
  output Real colSum "Column sum";
end computeColSum;

Generated at 2025-07-03T18:20:54Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos