App Designer: "Value" element now a string

9 ビュー (過去 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 件)

カテゴリ

Help Center および File ExchangeDevelop 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