Hi all, Get out of the loop "for" for guide
"
--------------------------------------------------------------------- K=handles.b function pushbutton2_Callback(hObject, eventdata, handles) for i=1:n; %event
if (K==1) break end endguidata(hObject, handles); --------------------------------------------------------------------- function rd_1_Callback(hObject, eventdata, handles)if (get(hObject,'Value') == get(hObject,'Max')) handles.b=1;else handles.b=2; end guidata(hObject, handles); ----------------------------------------------------------------------
trying "K=handles.b" Instead of typing "K=1" above
I want,while loop "for", any button or raddio_button or listbox ,stop with an impact.
Best Answer