Effacer les filtres
Effacer les filtres

Have a fresh start of GUI

1 vue (au cours des 30 derniers jours)
Xin
Xin le 28 Oct 2016
I created a GUI which has textbox for users to fill in and axis that plot the result. However, weird enough is that every time when I newly started the GUI, it shows the textbox with what I filled in in the last run and the figure plotted before. Is there any way to get rid of it to have a fresh start every time I run it. Many thanks in advance.

Réponse acceptée

Walter Roberson
Walter Roberson le 29 Oct 2016
It sounds as if you might have a savefig() somewhere in your code; if so then you need to get rid of it.

Plus de réponses (0)

Catégories

En savoir plus sur Debugging and Analysis dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by