ID: Title | hisl_0033: Usage of Lookup Table blocks | |
---|---|---|
Description | To support robustness of generated code, when using the 1-D Lookup Table, 2-D Lookup Table, n-D Lookup Table, Prelookup, and Interpolation Using Prelookup blocks: | |
A | Clear block parameter Remove protection against out-of-range input in generated code in each 1-D Lookup Table, 2-D Lookup Table, n-D Lookup Table, or Prelookup block. | |
B | Clear block parameter Remove protection against out-of-range index in generated code in each Interpolation Using Prelookup block. | |
Note | If the lookup table inputs are not guaranteed to fall within the range of valid breakpoint values, exclusion of range-checking code may produce unexpected results. | |
Rationale | A,B | Protect against out-of-range inputs or indices. |
Model Advisor Checks | Check usage of lookup table blocks (Simulink Check) | |
References |
| |
Last Changed | R2017b |