Display JPEG file in GUI
조회 수: 1 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
채택된 답변
Chandra Kurniawan
2011년 12월 15일
Fisrt you need to read your image that saved in your drive.
Eq :
I = imread('C:\My Document\Filename.jpg');
imshow(I);
댓글 수: 1
추가 답변 (1개)
Hamrit
2012년 5월 22일
creat Axe in your gui
then =======
I=imread('yourfile');
axes(handles.axe1);
imshow(I);
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!