This partial function opens the given MATLAB MAT file and
reads the given matrix of a state space system from this file.
This function has no outputs, beining considered as
a "partial" function to be further extended.
In particular, operations on the protected matrixABCD
can be done in an extending function.
partial function partialReadStateSpaceMatrix
extends Modelica.Icons.Function;
input String fileName = "dslin.mat" "File where matrixName data is stored" annotation(
Dialog(loadSelector(filter = "MAT files (*.mat);; All files (*.*)", caption = "Open MATLAB MAT file")));
input String matrixName = "ABCD" "Name of the generalized state space system matrix on file";
end partialReadStateSpaceMatrix;