Use previously calculated index and fraction values to accelerate approximation of one-dimensional function
AUTOSAR Blockset / Classic Platform / Library Routines / Interpolation
The Curve Using Prelookup block is intended for use with a Prelookup block.
This block enables a prelookup result to drive multiple interpolation results. The
Prelookup block computes the index and interval fraction that specify how its
input value u
relates to the breakpoint data set and feeds the resulting
index and fraction values into the Curve Using Prelookup block to interpolate a
one-dimensional table. The Prelookup and Curve Using Prelookup
blocks have distributed algorithms that when used together perform the same algorithm
operation as the Curve block but offer greater flexibility and more efficient
simulation and code generation.
If you select the AUTOSAR 4.0 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.
Curve | Map | Map Using Prelookup | Prelookup