message box

3 次查看(过去 30 天)
Vino
Vino 2012-3-26
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...??

采纳的回答

Rick Rosson
Rick Rosson 2012-3-26
Please try:
fig = figure;
tx = uicontrol('style','text','position',[ 40 40 540 320 ]);
set(tx,'string',myTextMessage);
For more information:
>> doc uicontrol
HTH.
  1 个评论
Vino
Vino 2012-3-26
i just need a scroll box instead of figure. i have given a long message its not sufficient enough to display in that place.

请先登录,再进行评论。

更多回答(1 个)

Vino
Vino 2012-3-26
one more question .. HOw to obtain the length of message given in the message box?

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by