Have a fresh start of GUI

2 Ansichten (letzte 30 Tage)
Xin
Xin am 28 Okt. 2016
Beantwortet: Walter Roberson am 29 Okt. 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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Graphics Object Programming finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by