how to use "range" in uislider

3 visualizaciones (últimos 30 días)
Luca Re
Luca Re el 17 de Mayo de 2024
Comentada: Stephen23 el 20 de Mayo de 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 comentarios
Luca Re
Luca Re el 19 de Mayo de 2024
Editada: Luca Re el 19 de Mayo de 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 el 20 de Mayo de 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.

Iniciar sesión para comentar.

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Graphics Object Properties en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by