How can I use variable names for the popupmenu in GUI Matlab?

1 vue (au cours des 30 derniers jours)
Jennifer Fox
Jennifer Fox le 27 Juin 2016
Hay everybody, I am working on some Neurodata and want to plot some of results via Gui afterwards.
The amount of data differs (atm it's about 78), so I wanted the popupmenu to show all of their names.
My idea was to use:
set(handles.untitled1,'String',{name(i)});
because I've an array called "name" 1x78 which contains all the names, but unfortunatly it doesn't work.
Thanks for your help already

Réponse acceptée

Walter Roberson
Walter Roberson le 27 Juin 2016
set(handles.untitled1, 'String', name)

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by