How to load image to another script file using matlab GUI?
Show older comments
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
Answers (1)
Apdullah YAYIK
on 14 Sep 2014
0 votes
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_
1 Comment
Imran Ali Shah
on 14 Sep 2014
Categories
Find more on Printing and Saving in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!