I am working on a GUI in Matlab using guide. I want the main axes in the GUI to perform a task on left click of mouse and display context menu with the right click. Can we do it in Matlab?
One idea I thought was to recognize mouse clicks and display context menu using a command. Is there a command in Matlab to do this?