Get image mouse click position in App Designer

12 ビュー (過去 30 日間)
Tony Marino
Tony Marino 2021 年 6 月 25 日
コメント済み: Tony Marino 2021 年 7 月 6 日
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.

採用された回答

Swetha Polemoni
Swetha Polemoni 2021 年 7 月 2 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by