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일

0 개 추천

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

Thanks Ganesh. Your response clears up my understanding of the current usage model.
Kris

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품

릴리스

R2020a

태그

Community Treasure Hunt

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

Start Hunting!

Translated by