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

1 vue (au cours des 30 derniers jours)
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 commentaires
Walter Roberson
Walter Roberson le 2 Déc 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 le 2 Déc 2020
Modifié(e) : Michal Elad le 2 Déc 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

Connectez-vous pour commenter.

Réponses (1)

Pranav Verma
Pranav Verma le 11 Déc 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

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by