Prelookup
Compute index and fraction for a Curve Using Prelookup or Map Using Prelookup block
Libraries:
      AUTOSAR Blockset / 
      Classic Platform / 
      Library Routines / 
      Interpolation
   
Description
The Prelookup block computes the index and fraction that specify how its
      input value u relates to the breakpoint dataset. The
        Prelookup block feeds the resulting output index and fraction values as a bus
      into a Curve Using Prelookup block to interpolate a one-dimensional table or a
        Map Using Prelookup block to interpolate a two-dimensional table. When a
        Prelookup block is used with either a Curve Using Prelookup or
        Map Using Prelookup block, they perform the same algorithm operation as the
        Curve or Map blocks. The use of the two blocks together offers
      greater flexibility and more efficient simulation and code generation. 
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.

