LookupTableND_port

This block approximates a non-linear function using interpolation on data provided as an "n-dimensional table".

    LookupTableND_port

Library

LookupTables

Parameters

LookupTableND_port_0

NameLabelDescriptionData TypeValid Values

nDims

Number of dimensions

Number of dimensions of the lookup table. One dimension corresponds to one input.

Number

Method

Interpolation method

String

'Hold'
'Nearest'
'Linear'
'Akima'
'Fritsch_Butland'
'Steffen'

DoOutside

Result outside the table range

String

'Hold'
'Linear'
'Zero'
'Error'

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.

Number

0
1

Ports

NameTypeDescriptionIO TypeNumber

y

explicit

output

1

Port 2

explicit

input

2*nDims+1

Port 3

activation

input

externalActivation