Have a fresh start of GUI

2 visualizzazioni (ultimi 30 giorni)
Xin
Xin il 28 Ott 2016
Risposto: Walter Roberson il 29 Ott 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.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Graphics Object Programming in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by