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

조회 수: 8 (최근 30일)
Devia Rafika Putri
Devia Rafika Putri 2013년 2월 12일
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.
Devia Rafika Putri
Devia Rafika Putri 2013년 2월 12일
Thank you so much Mr.. its working..
best regards Devia

댓글을 달려면 로그인하십시오.

카테고리

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