How to add a string to a popup-menu using a GUI?
15 ビュー (過去 30 日間)
古いコメントを表示
I need to add another string to a popup-menu button. Im using the function 'strcat' , but it adds the new string to all existing string and i want it to add only in a new line. What function i have to use?
Thanks
0 件のコメント
採用された回答
Azzi Abdelmalek
2012 年 9 月 25 日
編集済み: Azzi Abdelmalek
2012 年 9 月 25 日
use strvcat or char or {}
a='you';b='are';c='crazy'
s=char(a,b,c)
set(handles.popupmenu1,'string',s)
or
s=strvcat(a,b,c)
or
s={a,b,c}
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!