Use previously calculated index and fraction values to accelerate approximation of two-dimensional function
AUTOSAR Blockset / Classic Platform / Library Routines / Interpolation
The Map 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 calculates 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 a Map Using Prelookup block to interpolate a
two-dimensional table. The Prelookup and Map Using Prelookup
blocks have distributed algorithms that when used together perform the same algorithm
operation as the Map 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.