Remove range check from direct lookup table

2 vues (au cours des 30 derniers jours)
Adriano Pereira
Adriano Pereira le 29 Août 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 commentaires
Rachana Reddy Mamilla
Rachana Reddy Mamilla le 7 Sep 2018
why do you not want to check the range of index?
Adriano Pereira
Adriano Pereira le 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.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by