Pop up menu

조회 수: 4 (최근 30일)
john
john 2012년 2월 22일
Hi, how can I set pop up menu for example to choise 2 ?
Value={2}; set(handles.popupmenu,'Value');
But this doesn't work. :-(

채택된 답변

Jiro Doke
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.
  댓글 수: 1
john
john 2012년 2월 22일
thank you

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by