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

2 次查看(过去 30 天)
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.

回答(1 个)

George A.
George A. 2018-6-29
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?

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by