Curve Using Prelookup
R2026bUse previously calculated index and fraction values to accelerate approximation of one-dimensional function
Libraries:
AUTOSAR Blockset /
Classic Platform /
Library Routines /
Interpolation
Description
The Curve Using Prelookup block uses the calculated index and fraction values from a Prelookup block to interpolate a one-dimensional (1-D) lookup table, which represents sampled values of an approximated function. The output of this block is the result of the approximated function using the current inputs.
The Prelookup and Curve Using Prelookup blocks have distributed algorithms that, when used together, perform the same algorithm operation as the Curve block. By using the Prelookup and Curve Using Prelookup blocks together you have greater flexibility and more efficient simulation and code generation than when just using the Curve block.
If you select the AUTOSAR 4.x code replacement library (CRL) for your AUTOSAR model, code generated from this block is replaced with the AUTOSAR library routine that you configure in the block parameters dialog box.
Examples
Ports
Input
Output
Parameters
Extended Capabilities
Version History
Introduced in R2019aSee Also
Curve | Map | Map Using Prelookup | Cuboid Using Prelookup | Prelookup

