Remove range check from direct lookup table

2 visualizaciones (últimos 30 días)
Adriano Pereira
Adriano Pereira el 29 de Ag. de 2018
Editada: Adriano Pereira el 7 de Sept. de 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 comentarios
Rachana Reddy Mamilla
Rachana Reddy Mamilla el 7 de Sept. de 2018
why do you not want to check the range of index?
Adriano Pereira
Adriano Pereira el 7 de Sept. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Lookup Tables en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by