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

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

Dimple
on 20 Sep 2013

Thank You....

Jan Simon
on 20 Sep 2013

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 .


Join the 15-year community celebration.

Play games and win prizes!

Learn more
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!