The function output is true if the system is given in zeros and poles representation. Therefore, it is assumed that the used array names are "z" and "p" or "n1, n2, d1" and "d2" respectively.
function checkRepresentation import Modelica_LinearSystems2.ZerosAndPoles; input String fileName = "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"))); output Boolean iszp = true; end checkRepresentation;