Borrar filtros
Borrar filtros

Pop up menu

4 visualizaciones (últimos 30 días)
john
john el 22 de Feb. de 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. :-(

Respuesta aceptada

Jiro Doke
Jiro Doke el 22 de Feb. de 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 comentario
john
john el 22 de Feb. de 2012
thank you

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by