how to use "range" in uislider
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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
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.
Respuestas (1)
Voss
el 18 de Mayo de 2024
s = uislider(fig,"Limits",[1 50]);
https://www.mathworks.com/help/matlab/ref/matlab.ui.control.slider-properties.html
2 comentarios
Ver también
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!