Obtaining the name of a image when clicked GUI

1 回表示 (過去 30 日間)
Rodrigo Sánchez Suárez
Rodrigo Sánchez Suárez 2021 年 2 月 18 日
回答済み: Walter Roberson 2021 年 2 月 18 日
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.

採用された回答

Walter Roberson
Walter Roberson 2021 年 2 月 18 日
Images can have data tips. See datatip()

その他の回答 (0 件)

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by