How can I create the slider in my data range and how can my slider auto scroll until my data ends in app designer?

3 visualizaciones (últimos 30 días)
I have a function I know the map numbers and I want the slider to change as each map number changes. Map counts vary according to years, some years 13 maps, some years 25 maps. How can I make the slider occur according to my changing map count in the APP DESIGNER? I also want this slider value to change constantly from map 1 to map 13. Thank you in advance for your help.
I would like to point out that while the map count is 13, I want the slider to be 0 to 13, and if the map count is 25, I want the slider to be 0 to 25.

Respuestas (1)

Geoff Hayes
Geoff Hayes el 25 de Mayo de 2020
Özge - I think that all you need to do is to change the slider limits so that you can change the mininmum value (0) and the maximum (13, 25, etc.).
As for the auto scroll, you could use a for loop or timer to change the slider value. When that value changes, do you expect an action to occur?
  11 comentarios
Geoff Hayes
Geoff Hayes el 8 de Jun. de 2020
I'm not sure why the copyobj might reverse the axes. perahps someone else can respond to that.

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by