Why am I unable to move the slider uicontrol to its Max value in MATLAB 7.0 (R14)?

1 view (last 30 days)
I've created a slider uicontrol in MATLAB 7.0 (R14), that displays its Value when it is moved:
h_slider = uicontrol('Style','slider','Position',[10,10,200,20],...
'Max',25000,'Callback','get(gcbo,''Value'')');
When I move the slider, I am unable to move it to the Max value. If I set the Value manually to its Max, then it is has the proper value. However, if I move it again, then it cannot reach the Max again.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed for Release 14 SP1 (R14SP1). For previous releases, read below for any possible workarounds:
There is a bug in MATLAB 7.0 (R14) in slider uicontrols.
To work around this issue, try disabling the Java features in figures with the following command:
feature('javafigures',0);
Note that as a result of disabling the Java figures feature, you will no longer be able to dock/undock figure windows in the desktop, group together undocked figure windows, etc.

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!