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

3 views (last 30 days)
Jacob Ebilane
Jacob Ebilane on 12 Jun 2022
Answered: Image Analyst on 12 Jun 2022
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 Comments
Jacob Ebilane
Jacob Ebilane on 12 Jun 2022
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

Sign in to comment.

Answers (2)

Simon Chan
Simon Chan on 12 Jun 2022
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 on 12 Jun 2022

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by