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