Want to get these values in my code
Afficher commentaires plus anciens

i need these values in my code ..
when i select the mouse courser on a point . it automatically pass to my code
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 11 Mai 2015
0 votes
You can use ginput() if you want to wait for the user to click. If you want the user to be able to click as one possible action, then see the documentation for Image Properties and set a ButtonDownFcn callback in which you get() the figure CurrentPoint property to figure out where on the figure you are and deduce your image location from there (I have probably forgotten a better way)
1 commentaire
Amir Khan
le 12 Mai 2015
Catégories
En savoir plus sur Build Interactive Tools dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!