MATLAB: Do I observe unexpected output when upgrading model with Lookup Table (2-D) blocks

advisorinterpolationlookupsimulinktableupgrade

Why am I getting unexpected results from my model when I use the upgrade advisor on my model with Lookup Table and Lookup Table (2-D) blocks?

Best Answer

Lookup Table and Lookup Table (2-D) blocks may be replaced by 1-D Lookup Table and 2-D Lookup Table blocks.
You may get a warning that says "A numerical difference might appear" which refers to different methods of determining outputs available to each set of blocks. For example, the older "Use Input Nearest" method will not generally produce the same result as "Linear Interpolation" as the latter interpolates, and the former chooses a value from the table.
I suggest manually selecting the interpolation method that best represents the older interpolation method.