Loading image into GUI
이전 댓글 표시
Hi,
How to load an image into GUI and display on Axis?
I need to load image dynamically.
Plz help me.
댓글 수: 1
Nicholus
2014년 7월 2일
If you mean loading an image on matlab gui, just follow these simple steps. 1. copy and paste the image to the matlab directory, check it on top of your matlab desktop.(C:\MATLAB7\work\New Folder) located on top middle of matlab desktop.
2 run this command; A = imread ('file mame.jpg'); imshow(A)
Good luck!
The image will be displayed. Note, file name has extension of class, say jpg, tif etc.
채택된 답변
추가 답변 (4개)
Wasim Akhlaq
2012년 6월 5일
0 개 추천
You can load an image in GUI MATLAB. see the help 'axes' and 'set' commands in matlab. I hope this will help you.
Sean de Wolski
2012년 6월 5일
0 개 추천
Some of these will help.
Image Analyst
2012년 6월 5일
0 개 추천
Amal
2022년 11월 13일
0 개 추천
Code to upload an image using the GUI interface in Matlab?
댓글 수: 1
Image Analyst
2022년 11월 13일
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:
I upload my images using copyfile because I have the servers I need mapped to drive letters in Windows. You might be able to upload using a URL if you have permission to write to that location.
Be specific in what you want with your questions, otherwise you'll get no answers.
카테고리
도움말 센터 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!