How to show full dialog box title

9 ビュー (過去 30 日間)
Babarandage Perera
Babarandage Perera 2011 年 5 月 13 日
Hello everybody,
I am struggling to show entire menu title for the following code! Please help !!
prompt={'Enter the matrix size for x^2:',...
'Enter the colormap name:'};
name='Input for Peaks function';
numlines=1;
defaultanswer={'20','hsv'};
answer=inputdlg(prompt,name,numlines,defaultanswer);
Thank you!!!

採用された回答

Paulo Silva
Paulo Silva 2011 年 5 月 13 日
prompt={'Enter the matrix size for x^2:',...
'Enter the colormap name:'};
name='Input for Peaks function';
defaultanswer={'20','hsv'};
N=50; %this will control the width of the inputdlg
answer=inputdlg(prompt,name,[1 N],defaultanswer);
  1 件のコメント
Babarandage Perera
Babarandage Perera 2011 年 5 月 13 日
Cheers Paulo Silva !!!! Thank you !!!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDialog Boxes についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by