How to make a slider in GUI with a variable range?
1 view (last 30 days)
Show older comments
how to make a slider in the range 100-120 in GUI? or that does not start with 0? because if it does not start at 0 slider will disappear ? example : min 100 max = 120
thanks so much ---best regards >devia
0 Comments
Accepted Answer
Image Analyst
on 12 Feb 2013
Sure. Just use GUIDE (see Doug Hull's blog on it) and place a slider on the figure. Then double click it and set the min and max property. Make sure you set the value to be between min and max or it will not display the slider when you run it.
0 Comments
More Answers (1)
Devia Rafika Putri
on 12 Feb 2013
4 Comments
Image Analyst
on 12 Feb 2013
The "Value" property must be between the "Min" property and the "Max" property or else it won't appear.
See Also
Categories
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!