MATLAB Answers

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

3 views (last 30 days)
mohammad ibrahim
mohammad ibrahim on 31 May 2019
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 Comments

Sign in to comment.

Answers (0)

Sign in to answer this question.

Products


Release

R2018b

Translated by