フィルターのクリア

Change Pop up menu choices when GUI is started

3 ビュー (過去 30 日間)
Thomas Koelen
Thomas Koelen 2015 年 4 月 8 日
回答済み: Thomas Koelen 2015 年 4 月 8 日
I have a cell called sheetNamesOECF containing strings, this cell is updated in the main mfile, When I run the gui for the first time, the pop up menu will show the strings that are in the sheetNamesOECF cell. Now when I run the main mfile again with different parameters, the sheetNamesOECF cell will have different strings. But when I run the gui the old strings are still in the pop up menu. Is there a way to change to pop up menu strings on GUI start?
Kind regards,
Thomas koelen

採用された回答

Thomas Koelen
Thomas Koelen 2015 年 4 月 8 日
Fixed,
Put:
set(handles.popupmenu1, 'String', sheetNamesOECF);
in your OpeningFcn.

その他の回答 (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