.Modelica_LinearSystems2.WorkInProgress.DiscreteTransferFunction.'constructor'.fromReal

Information

Generate a DiscreteTransferFunction data record from a Real value

Interface

function fromReal
  import Modelica;
  import Modelica_LinearSystems2;
  import Modelica_LinearSystems2.WorkInProgress.DiscreteTransferFunction;
  input Real r "Value of Real variable";
  input Modelica.Units.SI.Time Ts "Sample time";
  input Modelica_LinearSystems2.Utilities.Types.Method method = Modelica_LinearSystems2.Utilities.Types.Method.Trapezoidal "Discretization method";
  input String uName = "" "input name";
  input String yName = "" "output name";
  output DiscreteTransferFunction dtf(n = {r}, d = {1});
end fromReal;

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