Read a matrix from mat-file
encapsulated function readMatrixGain import Modelica; import Modelica_LinearSystems2; input String fileName = "matrixGain.mat" "Name of the matrix data file" annotation( Dialog(loadSelector(filter = "MAT files (*.mat);; All files (*.*)", caption = "matrix data file"))); input String matrixName = "K" "Name of the matrix" annotation( Dialog); input Integer m; input Integer n; output Real K[m, n]; end readMatrixGain;