Filter löschen
Filter löschen

Pop up menu

4 Ansichten (letzte 30 Tage)
john
john am 22 Feb. 2012
Hi, how can I set pop up menu for example to choise 2 ?
Value={2}; set(handles.popupmenu,'Value');
But this doesn't work. :-(

Akzeptierte Antwort

Jiro Doke
Jiro Doke am 22 Feb. 2012
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 Kommentar
john
john am 22 Feb. 2012
thank you

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by