How i add the button for the Time axis to user can change time in the given MATLAB App designer
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
How i add the button for the Time axis to user can change time in the given MATLAB App designer
0 Kommentare
Antworten (1)
Taylor
am 23 Jan. 2024
The property you want to change is app.UIAxes.XLim. You could implement this with a ButtonPressedFcn callback (like you have done with your "Go!" button, or you could use the ValueChangedFcn callback for a Numeric Edit Field to update the axis as the user inputs new values.
1 Kommentar
Taylor
am 24 Jan. 2024
Yes, that is what I'm describing with the second option. I've attached a modified version of your app that shows how this is implemented. Is this what you're looking for?
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!