Problem with pop-up menu in gui

3 ビュー (過去 30 日間)
Andreas
Andreas 2015 年 3 月 4 日
回答済み: Adam 2015 年 3 月 5 日
Hello world, I've been using GUIDE for making guis for a short time. I have a major problem when I delete elements from a pop-up menu, as it disappears for absolutely no reason, although the cell that is being used for pop-up menu population, still has one last element. I've read about pop-up menus and their problem with empty Values, however that's not the case, because the there is still one string element. Any ideas please?? I have attached the file, so anyone can see. Thank you all!
  3 件のコメント
Joseph Cheng
Joseph Cheng 2015 年 3 月 4 日
Jan
Jan 2015 年 3 月 4 日
Duplicate submission removed.

サインインしてコメントする。

採用された回答

Adam
Adam 2015 年 3 月 5 日
Popup menus disappear when you delete elements if the 'Value' is set to be larger than the number of elements in the list - e.g. if the final element of the list was the one selected and then you delete one. I suspect that is what is wrong in your case.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Environment Customization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by