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

1 Ansicht (letzte 30 Tage)
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.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 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.

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by