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

1 visualización (últimos 30 días)
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 comentarios
Walter Roberson
Walter Roberson el 2 de Dic. de 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 el 2 de Dic. de 2020
Editada: Michal Elad el 2 de Dic. de 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

Iniciar sesión para comentar.

Respuestas (1)

Pranav Verma
Pranav Verma el 11 de Dic. de 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

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by