How i add the button for the Time axis to user can change time in the given MATLAB App designer

Risposte (1)

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 Commento

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?

Accedi per commentare.

Categorie

Scopri di più su Develop Apps Using App Designer in Centro assistenza e File Exchange

Prodotti

Release

R2023a

Tag

Richiesto:

il 19 Gen 2024

Commentato:

il 24 Gen 2024

Community Treasure Hunt

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

Start Hunting!

Translated by