Pop up menu

1 回表示 (過去 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 Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by