Remove range check from direct lookup table

2 views (last 30 days)
When i generate code for a Direct lookup table, the range of the index is always checked. Is there any way to deactivate this?
  2 Comments
Rachana Reddy Mamilla
Rachana Reddy Mamilla on 7 Sep 2018
why do you not want to check the range of index?
Adriano Pereira
Adriano Pereira on 7 Sep 2018
In this particular application, I know that my values will always be in the LUT range, so I don't need the extra if/else to check this.
If I use a 1-D Lookup table, there is an option to deactivate this, but not on the Direct lookup table.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!