Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Matlab GUI question regarding pop-up menu

1 visualización (últimos 30 días)
Kitae
Kitae el 2 de Jun. de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Hello, I am creating GUI that has one pop-up menu. I have trouble getting n-th option that user chooses. For example, if my menu is
dog
cat
tiger
lion
when I user picks 'cat' from the option and presses pushbotton, I somehow need to obtain number 2, the n-th option under the popup menu.
Is there any way to do this? If there is, please help.

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 2 de Jun. de 2013
get(handles.popup1,'value')

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by