how to break line in prompt text
4 ビュー (過去 30 日間)
古いコメントを表示
i want to display a list in prompt dialogbox..how to usee break line in it likee i want to display text like that:
select songs from below list:
1.namee of songss:
2.name of songs:
3. name of songs:
etc
how can i display this in prompt dialog box
0 件のコメント
採用された回答
Geoff Hayes
2014 年 7 月 22 日
Why not use a listdlg instead? It allows you to create a cell array of strings (in your case song titles) which is then displayed in a dialog that the user can select from
strs = {'1. name of song', '2. name of song', '3. name of song'};
prmpt = 'Select songs from below list:';
[s,v] = listdlg('PromptString',prmpt,'SelectionMode','multi','ListString',strs);
Try the above and see what happens!
10 件のコメント
Geoff Hayes
2014 年 8 月 10 日
I'm not sure - it may be one of those undocumented (and so unsupported) features that is possible when you start playing with the Java equivalent for the list box widget.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で OFDM についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!