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

1 visualización (últimos 30 días)
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

Respuesta aceptada

Image Analyst
Image Analyst el 12 de Feb. de 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.

Más respuestas (1)

Devia Rafika Putri
Devia Rafika Putri el 12 de Feb. de 2013
oke, thanks i'm sorry but it means slider GUI can't have minimum value > 0 ??
  4 comentarios
Image Analyst
Image Analyst el 12 de Feb. de 2013
The "Value" property must be between the "Min" property and the "Max" property or else it won't appear.
Devia Rafika Putri
Devia Rafika Putri el 12 de Feb. de 2013
Thank you so much Mr.. its working..
best regards Devia

Iniciar sesión para comentar.

Categorías

Más información sobre Graphics Object Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by