How to load image to another script file using matlab GUI?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi every one. i want to build a GUI such that when I press a pushbutton it loads image and display it and also send that image to a .m script file
댓글 수: 0
답변 (1개)
Apdullah YAYIK
2014년 9월 14일
Create button and Callback of this button write this code ;
_t=imread('samlpe.tiff') % load image
save(t) % save as .mat
% you can send image as MATLAB .mat file not as .m script
Then create axes object an name it as axes1
imshow(t,'Parent',handles.a_ axes1) % display image_
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!