Respuesta aceptada

Sean de Wolski
Sean de Wolski el 1 de Mzo. de 2012

1 voto

n = 5;
uicontrol('style','list','string',num2cell((1:n).'))

1 comentario

john
john el 1 de Mzo. de 2012
1. from listbox can I get the value? x=get(handles.listbox,'Value');
if (x == 1)........?
2. and how can I set number 5 to popupmenu?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre App Building en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 1 de Mzo. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by