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 CenterFile Exchange에서 Dialog Boxes에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by