Get the number of first order polynomials (n1, d1) and second order polynomials (n2, d2) of zeros and poles from zeros and poles written in a MAT-file
function numberOfRealZerosAndPoles_zp import Modelica_LinearSystems2.DataDir; input String fileName = DataDir + "/zp.mat" "Name of the zeros and poles data file" annotation( Dialog(loadSelector(filter = "MAT files (*.mat);; All files (*.*)", caption = "state space system data file"))); input Real eps = Modelica.Constants.eps; output Integer n1n2d1d2[4]; end numberOfRealZerosAndPoles_zp;