partial function getArrayColumns2D extends Modelica.Icons.Function; input String varName "Variable name"; input Types.ExternMATFile mat "External MATLAB MAT file object"; output Integer n "Number of columns in array"; end getArrayColumns2D;