MATLAB: Is the waitbar figure not displayed properly in Windows XP in MATLAB 6.1 (R12.1)

6.1displayfigureMATLABwaitbarwindowsxp

I am using MATLAB 6.1 and I find that while using the Windows XP style for windows and buttons, the figure from the WAITBAR.m function is not displayed correctly.

Best Answer

This problem has been fixed in MATLAB 6.5 (R13).
For previous versions, you can click on the Related Solution at the bottom of the page.
This problem can also be solved by changing a line of code in the WAITBAR.m function.
In the following lines 106-110 of WAITBAR.m
(these line numbers correspond to MATLAB 6.1)
f = figure(...
'Units', 'points', ...
'BusyAction', 'queue', ...
'Position', pos, ...
'Resize','off', ...
Change the code on line 110 for the Resize option to <'Resize','on'>.
You should now be able to see the waitbar figure correctly.