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

1 view (last 30 days)
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.

Answers (1)

George A.
George A. on 29 Jun 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?


Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!