read a image in a axes

1 visualización (últimos 30 días)
Sajid Afaque
Sajid Afaque el 10 de Abr. de 2019
Comentada: Sajid Afaque el 10 de Abr. de 2019
hello all,
i am displaying a png image in an axes.
but i need to check whether image is present or not in the axes when i press my pushbutton. how do i do that

Respuesta aceptada

Walter Roberson
Walter Roberson el 10 de Abr. de 2019
imhandles() is one way.
However, if you have the axes handle, I would suggest
findobj(TheAxesHandle, 'type', 'image')
  4 comentarios
Sajid Afaque
Sajid Afaque el 10 de Abr. de 2019
thanks walter its working
Sajid Afaque
Sajid Afaque el 10 de Abr. de 2019
hey walter
what should i do now,if i want to read the same image in another gui named gui2, without specifing the image name

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Visual Exploration en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by