Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Hello! I am new to matlab. I just want to execute a simple GUI code in which i can display an image from base workspace through callback function(pushbutton1).
조회 수: 1 (최근 30일)
이전 댓글 표시
It is working when i read the image inside
the callback function but not
ouside like given below:
I = imread('Edge.png'); % base workspace variable.
function pushbutton1_Callback(hObject, eventdata, handles)
axes(handles.axes1);
imshow(I);
How can i import variable 'I' into my pushbutton function.
댓글 수: 0
답변 (1개)
Ahmet Cecen
2016년 10월 28일
편집: Ahmet Cecen
2016년 10월 28일
I don't have the time to write the actual thing here at the moment, but check one of my simpler GUIs here to see how it is done:
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!