how to use "range" in uislider

4 Ansichten (letzte 30 Tage)
Luca Re
Luca Re am 17 Mai 2024
Kommentiert: Stephen23 am 20 Mai 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 Kommentare
Luca Re
Luca Re am 19 Mai 2024
Bearbeitet: Luca Re am 19 Mai 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 am 20 Mai 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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Graphics Object Properties finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by