How can I display an image from a function that are operated by app designer in the app?

1 view (last 30 days)
Hi everyone :)
I have a function that contains an infint loop, and whenever a condition is checked, I want it to display an image on the app. Ant ideas how can I do so?
Michal Elad
Michal Elad on 2 Dec 2020
Edited: Michal Elad on 2 Dec 2020
Thank you very much!!
I'm very new to working with GUIs, any chance you can write me an exampke of how I create the handle in the app designer and then how I use it in my function?
Thank you again,

Sign in to comment.

Answers (1)

Pranav Verma
Pranav Verma on 11 Dec 2020
Hi Michal,
You'll need imshow function to display the image.
Please refer to the below answers. They contain discussion on the similar lines:


Find more on Create Custom UI Components in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!