.Modelica_LinearSystems2.DiscreteZerosAndPoles.Internal.fromFile_pc

Information

Generate a DiscreteZerosAndPoles data record by reading the polynomial coefficients from a file (default file name is pc.mat)

Interface

encapsulated function fromFile_pc
  import Modelica.Utilities.Streams.readRealMatrix;
  import Modelica_LinearSystems2.ZerosAndPoles;
  import Modelica_LinearSystems2.DiscreteZerosAndPoles;
  import Modelica;
  input String fileName = "pc.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 DiscreteZerosAndPoles dzp(n1 = fill(0, n1), n2 = fill(0, n2, 2), d1 = fill(0, d1), d2 = fill(0, d2, 2));
end fromFile_pc;

Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos