Why do I observe unexpected output when upgrading model with Lookup Table (2-D) blocks

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?

 Accepted 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.

More Answers (0)

Categories

Products

Release

R2016b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!