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?
Thanks,
Michal
  2 Comments
Walter Roberson
Walter Roberson on 2 Dec 2020
Make sure you create an axes to display the image in, and pass the axes handle to imshow() using the 'parent' option
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,
Michal

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:
Thanks

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!