Have a fresh start of GUI

2 views (last 30 days)
Xin
Xin on 28 Oct 2016
Answered: Walter Roberson on 29 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.

Accepted Answer

Walter Roberson
Walter Roberson on 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.

More Answers (0)

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!