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...??

 Accepted Answer

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

1 Comment

Vino
Vino on 26 Mar 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.

Sign in to comment.

More Answers (1)

Vino
Vino on 26 Mar 2012

0 votes

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

Categories

Tags

Asked:

on 26 Mar 2012

Community Treasure Hunt

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

Start Hunting!