Vlaue of Slider --> EditField
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Kristin Habersang
am 19 Jan. 2021
Bearbeitet: Kristin Habersang
am 5 Mär. 2021
Hello I didnt found out how to get the value of the Slider to the EditField, and the other way around. Can somebody help me? I am using MATLAB2020b and the App designer, so I don´t have one of these so called "handles" anymore and they are used in every tutorial. thank you
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 19 Jan. 2021
I don't use app Designer, but isn't it something like
value = app.sliderName.Value;
app.EditField.String = sprintf('%.3f', value);
7 Kommentare
Image Analyst
am 29 Jan. 2021
What properties does it have? Did you ask:
properties(app.xEditField)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!