Main Content

jc_0626: Usage of Lookup Table blocks

Since R2020a

Guideline Publication

Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®

Sub ID Recommendations

  • NA-MAAB — a, b

  • JMAAB — a, b

MATLAB Versions

All

Rule

Sub ID a

The Lookup Table Dynamic block parameter Lookup Method shall be set to Interpolation – Use End Values.

Custom Parameter

Not Applicable

Sub ID b

These n-D Lookup Table block parameters shall be set as follows:

  • Set Interpolation Method to Linear point-slope or Linear Lagrange.

  • Set Extrapolation Method to Clip.

  • Select Use last table value for inputs at or above last breakpoint.

Custom Parameter

Not Applicable

Rationale

Sub IDs a, b:

  • When an unexpected value is entered for the Lookup Table block, the output is determined by using the extrapolation method and can become an impossible value or cause the Lookup Table output to overflow.

Verification

Model Advisor check: Check usage of Lookup Tables (Simulink Check)

Last Changed

R2020a

Version History

Introduced in R2020a