How can I increase GUI slider steps?
Afficher commentaires plus anciens
I have 168 MRI images to scroll. But my slider goes 1,3,5,6,8,10...almost every second image is shown. I've count them and turn out to be that slider has a exactly hundred steps. How can I increase that steps that slider shows one by one image?
Thanks.
2 commentaires
Note that the accepted answer is incorrect. The actual required limits are:
[1/(maxNumberOfImages-1) , 10/(maxNumberOfImages-1)]
^ ^^^ ^ ^^^ missing in the answer
The general solution is actually:
stepSize/(maxLimit-minLimit)
which should make the mistake in the accepted answer clear. See also:
Image Analyst
le 24 Fév 2019
Good catch Stephen. I've made the change in case someone sees only my answer below and not your correction. Thanks!
Réponse acceptée
Plus de réponses (1)
Andy
le 17 Nov 2017
1 vote
this ('SliderStep' property) doesn't exist in slider object of the gui designer.
1 commentaire
Image Analyst
le 17 Nov 2017
I find that hard to believe. Attach a screenshot of the property inspector with your slider properties showing.
Catégories
En savoir plus sur Lighting, Transparency, and Shading dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!