Have a fresh start of GUI
2 views (last 30 days)
Show older comments
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.
0 Comments
Accepted Answer
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Graphics Object Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!