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

1 回表示 (過去 30 日間)
Jennifer Fox
Jennifer Fox 2016 年 6 月 27 日
回答済み: Walter Roberson 2016 年 6 月 27 日
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

採用された回答

Walter Roberson
Walter Roberson 2016 年 6 月 27 日
set(handles.untitled1, 'String', name)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by