App Designer: "Value" element now a string

조회 수: 19(최근 30일)
Kristoffer Walker
Kristoffer Walker 2020년 4월 23일
댓글: Kristoffer Walker 2020년 4월 27일
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,

채택된 답변

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.

댓글을 달려면 로그인하십시오.

추가 답변(0개)





Community Treasure Hunt

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

Start Hunting!

Translated by