Remove range check from direct lookup table

2 Ansichten (letzte 30 Tage)
Adriano Pereira
Adriano Pereira am 29 Aug. 2018
Bearbeitet: Adriano Pereira am 7 Sep. 2018
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 Kommentare
Rachana Reddy Mamilla
Rachana Reddy Mamilla am 7 Sep. 2018
why do you not want to check the range of index?
Adriano Pereira
Adriano Pereira am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by