Slider values from an specific column appdesigner

6 vues (au cours des 30 derniers jours)
Eduardo Reyes
Eduardo Reyes le 28 Juil 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

Réponses (1)

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

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by