I have created a gui based on matlabs guide, and have been storing the inputs into a separate location named userdata (i think is the best way to put it).
For Example:
Number1 = str2num(get(handles.Editbox_Number1,'String')); handles.userdata.Number1 = Number1; guidata(hObject,handles);
I was just looking for a way to clear all the values (ie. Number1, Number2) that are stored in userdata when a 'clear' button in the gui is selected, so that when i run handles.userdata it returns blank. Thanks for any advice.
Best Answer