Get image mouse click position in App Designer
20 次查看(过去 30 天)
显示 更早的评论
Hello,
I'm trying to create an app in App Designer where I display an image on a UIAxes and then capture the position of the mouse when a user clicks on that image and then display the captured mouse position in an edit field. I have created a ButtonDownFcn associated with the image but when I click on the image I get:
Undefined function 'im_ButtonDownFcn' for input arguments of type 'matlab.graphics.primitive.Image'.
Error while evaluating Image ButtonDownFcn.
My code is attached, any help would be much appreciated.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!