functionimportFromFile
Example how to read a transfer function from a matlab file
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | systemOnFile | true | True, if state space system is defined on file |
| String | fileName | DataDir + "tf_siso_1.mat" | File where numenator n and denominator d are stored |
| Polynomial | n | Polynomial({1, 2, 3}) | |
| Polynomial | d | Polynomial({4, 5, 6}) |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | ok |