uidropdown : how know indices in item?
12 ビュー (過去 30 日間)
古いコメントを表示
採用された回答
dpb
2023 年 6 月 24 日
The index to the selected item is in the <InteractionInformation object> of the dropdown component. The object is available to the ClickedFcn callback function; if it is present the user clicked on a selection. There's example code at the above link.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Interactive Control and Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!