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

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개)

카테고리

도움말 센터File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

제품

릴리스

R2018b

질문:

2019년 5월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by