error while browsing an image in GUI
이전 댓글 표시
I made GUI that allow the user to browse image. I wrote this function:
function pushbutton1_Callback(hObject, eventdata, handles)
[filename pathname] = uigetfile('*.*','File Selector');
image = [filename pathname];
axes(handles.axes1);
imshow(image);
end
But the image did not appear. Here is the error message that was appeared in the command window :

Could any one explain to me whats wrong and how can I browse an image? *I insert the image in the same folder of matlab file.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Device Connection에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!