Control value range in matlab UI spinner
이전 댓글 표시
Hello
I have a function that enables you to add numbers through spinner on the app designer
how do I control the value range from ( 0.1 to 1)
find the function below
function EnumSpinnerValueChanged(app, event)
value = app.EnumSpinner.Value;
end
end
Thanks in advance
Tino
댓글 수: 1
Adam
2019년 7월 17일
It should be in the setup of the spinner ini the design view where you will have min and max options. I can't remember off-hand, I don't use app designer, but when you add a component you get a bunch of options for it appearing somewhere over to the bottom right (I think) of the design view to customise the initial options.
답변 (1개)
Vimal Rathod
2019년 7월 30일
0 개 추천
You can control the range of a UI Spinner by setting the Limits property to the desired range of value.
Refer to the properties of UI Spinner for more information:
댓글 수: 1
LO
2020년 7월 3일
how can one set the limits based on edits taken from a text box entry ?
카테고리
도움말 센터 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!