how to use "range" in uislider
조회 수: 3 (최근 30일)
이전 댓글 표시
fig = uifigure;
s = uislider(fig,"range",1:50);
Error using uislider
Unrecognized property range for class Slider.
Error in untitled6 (line 2)
s = uislider(fig,"range",1:50);
i want this :
댓글 수: 9
Stephen23
2024년 5월 20일
From my knowledge it's a bit difficult."
Certainly it would be quite fiddly to implement.
A simpler approach is to have some fixed (i.e. unmoving) e.g. UICONTROL displaying the values.
답변 (1개)
Voss
2024년 5월 18일
s = uislider(fig,"Limits",[1 50]);
https://www.mathworks.com/help/matlab/ref/matlab.ui.control.slider-properties.html
댓글 수: 2
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Object Properties에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!