Main Content

Prelookup With External Breakpoint Specification

This example shows how to feed a breakpoint dataset from a Constant block to the bp input port of the Prelookup block.

The Prelookup block inherits the following breakpoint attributes from the bp input port:

  • Minimum: Inf

  • Maximum: Inf

  • Data type: single

Similarly, a Constant block feeds the table data values to the T input port of the Interpolation Using Prelookup block, which inherits the following attributes:

  • Minimum: Inf

  • Maximum: Inf

  • Data type: single

Simulink® uses double-precision, floating-point data to perform the computations in this model. However, the model stores the breakpoint and table data as single-precision, floating-point data. Using a lower-precision data type to store breakpoint and table data reduces the memory requirement.