How to make a slider in GUI with a variable range?

8 次查看(过去 30 天)
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

采纳的回答

Image Analyst
Image Analyst 2013-2-12
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.

更多回答(1 个)

Devia Rafika Putri
Devia Rafika Putri 2013-2-12
oke, thanks i'm sorry but it means slider GUI can't have minimum value > 0 ??
  4 个评论
Image Analyst
Image Analyst 2013-2-12
The "Value" property must be between the "Min" property and the "Max" property or else it won't appear.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 App Building 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by