フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Matlab GUI question regarding pop-up menu

1 回表示 (過去 30 日間)
Kitae
Kitae 2013 年 6 月 2 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hello, I am creating GUI that has one pop-up menu. I have trouble getting n-th option that user chooses. For example, if my menu is
dog
cat
tiger
lion
when I user picks 'cat' from the option and presses pushbotton, I somehow need to obtain number 2, the n-th option under the popup menu.
Is there any way to do this? If there is, please help.

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 6 月 2 日
get(handles.popup1,'value')

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by