Prelookup and Interpolation Blocks
The following examples show the benefits of usingPrelookupandInterpolation Using Prelookupblocks.
Action | Benefit | Example |
---|---|---|
Use an index search to relate inputs to table data, followed by an interpolation and extrapolation stage that computes outputs |
允许重用索引搜索结果中查找data in multiple tables, which reduces simulation time |
For more information, seeUsing the Prelookup and Interpolation Blocks. |
Set breakpoint and table data types explicitly |
Lowers memory required to store:
|
For more information, seeSaving Memory in Prelookup and Interpolation Blocks by Using Smaller Data. |
Provides easier sharing of:
|
For more information, seeSharing Parameters in Prelookup and Interpolation Blocks(Fixed-Point Designer). |
|
Enables reuse of utility functions in the generated code |
For more information, seeShared Utility Functions for Prelookup Blocks(Fixed-Point Designer). |
|
Set the data type for intermediate results explicitly |
Enables use of higher precision for internal computations than for table data or output data |
For more information, seeHigh Precision Calculations in Interpolation Block(Fixed-Point Designer). |
See Also
Prelookup|Interpolation Using Prelookup