functionfromReal
Generate a DiscreteTransferFunction data record from a Real value
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | r | Value of Real variable | |
| Modelica.Units.SI.Time | Ts | Sample time | |
| Modelica_LinearSystems2.Utilities.Types.Method | method | Modelica_LinearSystems2.Utilities.Types.Method.Trapezoidal | Discretization method |
| String | uName | "" | input name |
| String | yName | "" | output name |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| DiscreteTransferFunction | dtf |