interact/Click on a draggable line/rectangle to open a menu ?

1 回表示 (過去 30 日間)
mohammad ibrahim
mohammad ibrahim 2019 年 5 月 31 日
Hello. after drawing a line or a rectangle interactively using "drawline" and drawrectange" in a GUI axes, what I want now is that when I click on the line/rectangle, a menu (or another GUI) will open ? can you please help me with this?
after searching , I found "UIContextMenu" and 'ButtonDownFcn' , but I didnt succeed to implement them
thank you
Mohamad

回答 (0 件)

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by