How to Display selected image on the same window (App Designer)

조회 수: 2 (최근 30일)
Jacob Ebilane
Jacob Ebilane 2022년 6월 12일
답변: Image Analyst 2022년 6월 12일
I'm creating an OCR app in matlab. I have a button which opens the browser to let me select an image I want to run in the OCR.
I want to display the same image I select on the same window as the button.
  댓글 수: 2
Rik
Rik 2022년 6월 12일
It looks like you have a uiaxes in your AppDesigner app. What have you tried so far? What did you put in the button callback?
Jacob Ebilane
Jacob Ebilane 2022년 6월 12일
its just the uigetfile for the select image button. I could easily display it by opening a separate window but I wanted to know if I could put the image where it is on the right side

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

답변 (2개)

Simon Chan
Simon Chan 2022년 6월 12일
Attach a very simple example to import a jpg file for your reference.
Note that you may need to modify it according to your needs.

Image Analyst
Image Analyst 2022년 6월 12일

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by