suppose there are two buttons in a GUI and from first button i browsed an image and now i want to use that image in the callback function of second button for further processing on that image with second button.???
조회 수: 1 (최근 30일)
이전 댓글 표시
how to use that please guide me because i am new to matlab
댓글 수: 0
채택된 답변
Walter Roberson
2016년 5월 2일
댓글 수: 2
Walter Roberson
2016년 5월 17일
In the first part you need
handles.MyImage = MyImage;
In the second part, after
if isfield(handles,'MyImage')
you need
MyImage = handles.MyImage;
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!