Clear Filters
Clear Filters

how to use "range" in uislider

3 views (last 30 days)
Luca Re
Luca Re on 17 May 2024
Commented: Stephen23 on 20 May 2024
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 Comments
Luca Re
Luca Re on 19 May 2024
Edited: Luca Re on 19 May 2024
From my knowledge it's a bit difficult.. Here I made a reply to my problem (matlab_test.mlapp).. Can you edit the attached file with the solution? Thank you
Stephen23
Stephen23 on 20 May 2024
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.

Sign in to comment.

Answers (1)

Voss
Voss on 18 May 2024
  2 Comments
Luca Re
Luca Re on 18 May 2024
Edited: Luca Re on 18 May 2024
it's not correct..
I want double button to fix limit
see pics above
Voss
Voss on 18 May 2024
s = uislider(fig,"range","Limits",[1 50]);

Sign in to comment.

Categories

Find more on Graphics Object Properties in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!