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!