Azzera filtri
Azzera filtri

how to use "range" in uislider

98 visualizzazioni (ultimi 30 giorni)
Luca Re
Luca Re il 17 Mag 2024 alle 23:42
Commentato: Stephen23 il 20 Mag 2024 alle 3:59
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 Commenti
Luca Re
Luca Re il 19 Mag 2024 alle 22:52
Modificato: Luca Re il 19 Mag 2024 alle 22:53
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 il 20 Mag 2024 alle 3:59
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.

Accedi per commentare.

Risposte (1)

Voss
Voss il 18 Mag 2024 alle 0:54
  2 Commenti
Luca Re
Luca Re il 18 Mag 2024 alle 8:09
Modificato: Luca Re il 18 Mag 2024 alle 8:10
it's not correct..
I want double button to fix limit
see pics above
Voss
Voss il 18 Mag 2024 alle 14:30
s = uislider(fig,"range","Limits",[1 50]);

Accedi per commentare.

Categorie

Scopri di più su Specifying Target for Graphics Output in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by