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.

    LookupTable_port

Library

Activate/LookupTables

Parameters

LookupTable_port_0

NameLabelDescriptionData TypeValid 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)'
'ZeroOrder(ceil)'
'ZeroOrder(nearest)'
'Linear'
'Not_a_knot'
'Natural'
'Clamped'

EventGen

Apply zero crossings

Enable this parameter to detect the zero crossings. Default is on.

Scalar

0
1

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'
'Hold'
'Extrapolation'
'Repeat'

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'
'Hold'
'Extrapolation'
'Repeat'

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
1

Ports

NameTypeDescriptionIO TypeNumber

y

explicit

output

1

u

explicit

input

1

U

explicit

input

2

Y

explicit

input

3

Port 5

activation

input

2*externalActivation