contextmenu in axes in GUI

4 views (last 30 days)
Collegue
Collegue on 11 Nov 2019
Edited: Adam Danz on 12 Nov 2019
How can I add to a GUI axes a context menu which contains RIght and Left options and inside of them 1 2 and 3 option (for each of them).
  2 Comments
Adam Danz
Adam Danz on 11 Nov 2019
How was the gui created? AppDesigner?
Collegue
Collegue on 12 Nov 2019
with GUIDE

Sign in to comment.

Answers (1)

Adam Danz
Adam Danz on 12 Nov 2019
Edited: Adam Danz on 12 Nov 2019
Follow the example described in the documentation (link below). This code will go in your OpeningFcn function.

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!