Slider values from an specific column appdesigner

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

답변 (1개)

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

카테고리

도움말 센터File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2022년 7월 28일

답변:

2022년 7월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by