Why do I receive an "Unhandled internal error in guidefunc" message dialog when resizing a uipanel in GUIDE within MATLAB 7.0 (R14)?

1 view (last 30 days)
To reproduce this behavior, perform the following steps:
1) Open GUIDE using:
guide(0);
2) Create a uipanel.
3) Open the Property Inspector and delete the "Title" property value.
4) Use the mouse to resize the uipanel.
You will receive an error dialog stating:
Unhandled internal error in guidefunc.
Error using ==> set
Width and height must be > 0.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
We have verified that there is a bug in MATLAB 7.0 (R14) in the way that GUIDE resizes uipanels that have an empty "Title" property.
Currently, to work around this issue, ensure that the "Title" property of your uipanel is not empty. One method to simulate an empty "Title" property is to use only a single space, and set the "FontSize" property to 1.0.

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!