How do I use the ButtownDownFcn callback in the new AppDesigner?

3 visualizzazioni (ultimi 30 giorni)
How do I use the buttondownfcn on UIAxes in the new 2017a Matlab? I know the functionality is there.
I'm plotting a contour and I want to access the points where the user clicks.

Risposte (1)

George A.
George A. il 29 Giu 2018
There is no ButtonDownFcn function for UIAxes. There is for Axes but not for UIAxes.
I don't understand why. Can someone from mathworks explain or give a workaround?

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by