App Designer: "Value" element now a string

2 visualizaciones (últimos 30 días)
Kristoffer Walker
Kristoffer Walker el 23 de Abr. de 2020
Comentada: Kristoffer Walker el 27 de Abr. de 2020
Folks,
Is there any replacement variable for the "Value" in a dropdown UI element that enables me to get the index of the array that was chosen by the user? It is cumbersome to have to execute a find command every time this array index needs to be used.
Thank you,
Kris

Respuesta aceptada

Ganesh Regoti
Ganesh Regoti el 27 de Abr. de 2020
Hi Kristoffer,
It is possible to index information if you can use the property ItemData of drop-down component.
I found a similar question in Matlab Answers which can be referred to
Hope this helps!
  1 comentario
Kristoffer Walker
Kristoffer Walker el 27 de Abr. de 2020
Thanks Ganesh. Your response clears up my understanding of the current usage model.
Kris

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Etiquetas

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by