How to add Slider properties with in the app designer?

조회 수: 3(최근 30일)
Lavanya 2022년 6월 15일
댓글: Simon Chan 2022년 6월 15일
I have created GUI, in that i wanted to write conditions based on the Slider min & slider Max values. But I tried to create
'Position',[0.8 0.1 0.1 0.8],...
'BackgroundColor',[1 1 1],...
I am getting errors with. Can any one help me with this?


Simon Chan
Simon Chan 2022년 6월 15일
It uses Limits rather than Min, Max to define the limits.
  댓글 수: 2
Simon Chan
Simon Chan 2022년 6월 15일
sliderLimit = get(h.slider,'Limits') if sliderValue < sliderLimit(2) ………………

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

Community Treasure Hunt

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

Start Hunting!

Translated by