필터 지우기
필터 지우기

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