How to show full dialog box title

9 visualizaciones (últimos 30 días)
Babarandage Perera
Babarandage Perera el 13 de Mayo de 2011
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!!!

Respuesta aceptada

Paulo Silva
Paulo Silva el 13 de Mayo de 2011
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 comentario
Babarandage Perera
Babarandage Perera el 13 de Mayo de 2011
Cheers Paulo Silva !!!! Thank you !!!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Dialog Boxes en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by