message box

My message size is more then 10000... i couldnt display it in a message box... half of the message is hidden.. Can u help me to display the message of more size and also the syntax for it...??

 Respuesta aceptada

Rick Rosson
Rick Rosson el 26 de Mzo. de 2012

0 votos

Please try:
fig = figure;
tx = uicontrol('style','text','position',[ 40 40 540 320 ]);
set(tx,'string',myTextMessage);
For more information:
>> doc uicontrol
HTH.

1 comentario

Vino
Vino el 26 de Mzo. de 2012
i just need a scroll box instead of figure. i have given a long message its not sufficient enough to display in that place.

Iniciar sesión para comentar.

Más respuestas (1)

Vino
Vino el 26 de Mzo. de 2012

0 votos

one more question .. HOw to obtain the length of message given in the message box?

Categorías

Más información sobre Graphics Object Properties en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 26 de Mzo. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by