MATLAB Answers

Dimple
0

can i change the size of msgbox?

Asked by Dimple
on 21 Aug 2013

can i change the size of msgbox and want to know about color options for msgbox

  0 Comments

Log in to comment.

Tags

Products

No products are associated with this question.

1 Answer

Answer by Walter Roberson
on 21 Aug 2013
 Accepted Answer

You can in theory change the size of msgbox by changing the root property 'DefaultFigurePosition' via set(0,'DefaultFigurePosition',[....])

There are no options provided to change msgbox()'s size.

There are no color options for msgbox.

  2 Comments

Thank You....

Do not forget to restore the original value of the DefaultFigurePosition afterwards. Otherwise other dialogs might look too strange.

You can create a local copy of msgbox.m and modify it to your needs, e.g. as msgboxXtra.m .

Log in to comment.


Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!