Single Point Interpolation
R2026bLibraries:
AUTOSAR Blockset /
Classic Platform /
Library Routines /
Interpolation
Description
The Single Point Interpolation block performs linear interpolation using
the AUTOSAR Ifl_Interpolate_f32 routine. The Single Point
Interpolation block performs interpolation using inputs
u1 and
u2 and a fraction source parameter
f according to this equation:
You can specify the fraction source using the Block Parameters dialog box or an Input port. The Single Point Interpolation block supports software-in-the-loop (SIL) mode.
When you select the AUTOSAR 4.x code replacement library (CRL) for your AUTOSAR model,
your model replaces code that you generate for this block with a call to the
Ifl_Interpolate_f32 AUTOSAR library routine.
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"autosarlibiflifx/Single Point Interpolation"
Example: add_block("autosarlibiflifx/Single Point Interpolation","myModel/myBlock",MakeNameUnique="on")
