필터 지우기
필터 지우기

how to open an image file using Matlab GUI

조회 수: 1 (최근 30일)
rubina mahtab
rubina mahtab 2016년 5월 23일
댓글: rubina mahtab 2016년 5월 23일
I have a map on my GUI for which I need to add a legend. So I have added a pushbutton for legend as I donot want to mess up the map with lots of information. what I want the 'legend pushbutton' to do when clicked, is to open the image file that contains my legend. I have already saved the image file, I just need the pushbutton feature to open that file, not in the GUI but the file itself. Any suggestion when be highly appreciated. Thank you.

채택된 답변

Nut
Nut 2016년 5월 23일
Hi.
If I well understand your question, I think using the "imread" and then the "imshow" functions could be helpful for you:
These functions require the Image Processing Toolbox.
Alternatively, you could use the "winopen" function, if you want to open the image in the Windows Explorer (not in Matlab):
  댓글 수: 1
rubina mahtab
rubina mahtab 2016년 5월 23일
winopen
works like a charm.
Thanks a lot.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by