App Designer: "Value" element now a string

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

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by