Obtaining the name of a image when clicked GUI

2 visualizaciones (últimos 30 días)
Rodrigo Sánchez Suárez
Rodrigo Sánchez Suárez el 18 de Feb. de 2021
Respondida: Walter Roberson el 18 de Feb. de 2021
I have a bunch of images with a callback function assigned to them. Is it possibe to determine which image was clicked (the name of the image or the coordinates where it was clicked)? I know that this can be done in axis, but being images and sharing the same callback function, im not sure if it can be done. Thanks for your time.

Respuesta aceptada

Walter Roberson
Walter Roberson el 18 de Feb. de 2021
Images can have data tips. See datatip()

Más respuestas (0)

Etiquetas

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by