|ID: Title||cgsl_0102: Evenly spaced breakpoints in lookup tables|
|Description||When you use Lookup Table and Prelookup blocks,|
|A||With non-fixed-point data types, use evenly spaced data breakpoints for the input axis|
|B||With fixed-point data types, use power of two spaced breakpoints for the input axis|
|Notes||Evenly spaced breakpoints can prevent generated code from including division operations, resulting in faster execution.|
|Rationale||A||Improve ROM usage and execution speed.|
Improve execution speed.
When compared to unevenly spaced data, power-of-two data can
Compared to an evenly spaced data set, there should be minimal cost in memory or accuracy.
|Model Advisor Checks|
By Product > Embedded Coder > Identify questionable fixed-point operations
For check details, see Identify questionable fixed-point operations (Embedded Coder).