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

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

Make sure you create an axes to display the image in, and pass the axes handle to imshow() using the 'parent' option
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.

Categories

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

Products

Release

R2020b

Asked:

on 2 Dec 2020

Answered:

on 11 Dec 2020

Community Treasure Hunt

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

Start Hunting!