I am new to GUI design and coding. I have the following in my code but when I fill in my edit text box with a command
im2bw(im);
it does not run when I hit the button. I double-checked the pushbutton tag and it is correct.
function pushbutton8_Callback(hObject, eventdata, handles)% hObject handle to pushbutton8 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
global ims = get(handles.edit1,'string'); eval(s)axes(handles.axes1);imshow(im);
Best Answer