I am saving all data from multiple GUI's (created with GUIDE) using "setappdata" into the root directory (0). I would like to remove all saved data when I close the main GUI that controls the other GUI's, without individually removing each one. What is the best way to do this?
I found the following thread, but I am still unclear of the actual solution: http://www.mathworks.com/matlabcentral/newsreader/view_thread/114248
Also, as a side note. Is it good programming practice to save data in the root directory? Or should I be doing that a different way?
Thank you in advance for any help provided.
Best Answer