.Modelica_LinearSystems2.DiscreteZerosAndPoles.Import.fromFile

Information

Generate a DiscreteZerosAndPoles data record by reading the polynomial coefficients or zeros and poles from a file

Interface

encapsulated function fromFile
  import Modelica_LinearSystems2.ZerosAndPoles;
  import Modelica_LinearSystems2.DiscreteZerosAndPoles;
  import Modelica_LinearSystems2;
  import Modelica_LinearSystems2.Math.Complex;
  import Modelica;
  import Modelica_LinearSystems2.DataDir;
  input String fileName = DataDir + "dzp.mat" "Name of the discrete zeros and poles data file" annotation(
    Dialog(loadSelector(filter = "MAT files (*.mat);; All files (*.*)", caption = "state space system data file")));
  output DiscreteZerosAndPoles dzp(n1 = fill(0, n1), n2 = fill(0, n2, 2), d1 = fill(0, d1), d2 = fill(0, d2, 2));
end fromFile;

Generated at 2024-04-24T18:15:52Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos