Read the output matrix of a state space system
function ReadMatrixC2 input String fileName = DataDir + "abcd.mat" annotation( Dialog(loadSelector(filter = "MAT files (*.mat);; All files (*.*)", caption = "state space system data file"))); input String matrixName = "ABCD" "Name of the generalized state space system matrix"; input Integer nx "System order"; input Integer ny "number of outputs"; output Real C[ny, nx] = ABCD[nx + 1:nx + ny, 1:nx]; end ReadMatrixC2;