cgsl_0102: Evenly spaced breakpoints in lookup tables
|cgsl_0102: Evenly spaced breakpoints in lookup tables
|When you use Lookup Table and Prelookup blocks,
|With non-fixed-point data types, use evenly spaced data breakpoints for the input axis
|With fixed-point data types, use power of two spaced breakpoints for the input axis
|Evenly spaced breakpoints can prevent generated code from including division operations, resulting in faster execution.
|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).