function eigenValuesFromLinearization extends Modelica.Icons.Function; input Real is[:] "File indices X of the dslinX.mat files"; input Integer nx "Number of states"; input Integer nu "Number of inputs"; input Integer ny "Number of outputs"; input Boolean reorder = false "True, if eigen values shall be reordered so that they are closest to the previous ones"; output Real Re[nx, size(is, 1)] "Re[nx,np] Real values of eigenvalues Re[j,i], where i are the different parameter values and j the eigenvalue numbers"; output Real Im[nx, size(is, 1)] "Im[nx,np] Imaginary values of eigenvalues Im[j,i], where i are the different parameter values and j the eigenvalue numbers"; end eigenValuesFromLinearization;