LookupTable_port
This block approximates a non-linear function using interpolation on data provided as a "1D-table". Lookuptable data (U and Y) can only be updated at event instants.
Library
Activate/LookupTables
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
Method | Interpolation method | Interpolation method, to be selected amongst: ZeroOrder(Floor), ZeroOrder(Ceil), ZeroOrder(Nearest), Linear, Not a Knot, Natural, Clamped. | String | 'ZeroOrder(floor)' |
EventGen | Apply zero crossings | Enable this parameter to detect the zero crossings. Default is on. | Scalar | 0 |
Leftside | Behavior on the left-hand side of the U data span | Action that should be taken on the left-hand side of the U data. | String | 'Zero' |
Rightside | Behavior on the right-hand side of the U data span | Action that should be taken on the right-hand side of the U data. | String | 'Zero' |
externalActivation | External activation | Specifies whether the block receives an external activation or inherits its activation through its regular input ports. When External Activation is selected, an additional activation port is added to the block. By default, external activation is not selected. The LookupTable data is taken into account for higher order methods only when the second input event (table) is active. | Number | 0 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
y | explicit | output | 1 | |
u | explicit | input | 1 | |
U | explicit | input | 2 | |
Y | explicit | input | 3 | |
Port 5 | activation | input | 2*externalActivation |