Display JPEG file in GUI
显示 更早的评论
I want to display an image in my GUI.
An example given by Matlab on how to do this is by using imshow command:
imshow('board.tif')
now i want to display an image i've created.
how am i going to do that?
Do i have to place the file into specific folder?
采纳的回答
更多回答(1 个)
Hamrit
2012-5-22
creat Axe in your gui
then =======
I=imread('yourfile');
axes(handles.axe1);
imshow(I);
类别
在 帮助中心 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!