.Modelica_LinearSystems2.ZerosAndPoles.Internal.fromFile_zp

Information

Generate a ZerosAndPoles data record by reading poles and zeros from a file (default file name is zp.mat)

Interface

encapsulated function fromFile_zp
  import Modelica.Utilities.Streams.readRealMatrix;
  import Modelica_LinearSystems2;
  import Modelica_LinearSystems2.ZerosAndPoles;
  import Complex;
  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 ZerosAndPoles zp(n1 = fill(0, n1), n2 = fill(0, n2, 2), d1 = fill(0, d1), d2 = fill(0, d2, 2));
end fromFile_zp;

Generated at 2024-10-14T18:25:21Z by OpenModelicaOpenModelica 1.24.0 using GenerateDoc.mos