I need to remove some 'Userdata' (handles.noise, 'Userdata') from a callback function (Gui Pushbutton) before processing the data. I create a code for it in this function :
function loadplot_Callback(hObject, eventdata, handles)
cek_interp_yet = sum(isempty(get(handles.grafik, 'Userdata')));
cek_nois_yet = sum(isempty(get(handles.noise, 'Userdata')));
data_interp = get(handles.grafik, 'Userdata');
data_noise = get(handles.noise, 'Userdata');
After pushing the button, and when i click another radiobutton in response to the "(handles.noise, 'Userdata')", it evidently still showing the same 'Userdata' as if it was not deleted yet.
^ The above picture is a screenshot from a function of createfcn radio button when it process to plot a graph right after clicking on it. Because of this, the variable of cek_nois_comp is still 0 which mean the data (1440 x 22) string array was still not deleted yet (i want to make the variable of cek_nois_comp to become 1) so then the proceed can be resumed.....
So, anyone, would you like to help me out from this problem? Thank you so much /.\ /.\ /.\