App Designer: "Value" element now a string

4 次查看(过去 30 天)
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

采纳的回答

Ganesh Regoti
Ganesh Regoti 2020-4-27
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 个评论
Kristoffer Walker
Kristoffer Walker 2020-4-27
Thanks Ganesh. Your response clears up my understanding of the current usage model.
Kris

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

标签

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by