Slider values from an specific column appdesigner

1 visualización (últimos 30 días)
Eduardo Reyes
Eduardo Reyes el 28 de Jul. de 2022
Respondida: Kevin Holly el 29 de Jul. de 2022
Hey guys,
I have this app that will make a plot of force vs cars and will update as you drag the slider. I want the slider to be in MilePost domain (values from the first colum) instead of just be the numbers of rows on the excel file. I will attach the app and the excel file
How can I do that?
Thank you

Respuestas (1)

Kevin Holly
Kevin Holly el 29 de Jul. de 2022
See app attached.
You can add the following:
app.MPSlider.MajorTickLabels = categorical(app.Data(app.MPSlider.MajorTicks,1));

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by