Pop up menu
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi, how can I set pop up menu for example to choise 2 ?
Value={2}; set(handles.popupmenu,'Value');
But this doesn't work. :-(
댓글 수: 0
채택된 답변
Jiro Doke
2012년 2월 22일
Value = 2;
set(handles.popupmenu, 'Value', Value);
'Value' refers to the "Value" property of the pop up menu. The second Value refers to the actual value you want to set the "Value" property to.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!