How to load image to another script file using matlab GUI?
1 回表示 (過去 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!