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

1 vue (au cours des 30 derniers jours)
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.

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 27 Juin 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.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by