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;