Open context menu at location within UI figure
Close the context menu by pressing a key or clicking your mouse outside of the context menu. You cannot close a context menu programmatically.
ContextMenuOpeningFcn
callback functions do not execute when you call
the open
function. The callback functions are triggered by user
interactions only.