Why is the waitbar figure not displayed properly in Windows XP in MATLAB 6.1 (R12.1)?

1 view (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 6 Feb 2017
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.

More Answers (0)

Categories

Find more on Dialog Boxes 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!