Create context menu
creates
a context menu in the current figure and returns the uicontextmenu
object as c
= uicontextmenuc
. If no figure is available, then MATLAB® creates
a new figure to serve as the parent.
specifies
one or more uicontextmenu property names and corresponding values.
Use this syntax to override the default uicontextmenu property values.c
= uicontextmenu(Name,Value
)
creates
a uicontextmenu and specifies the parent figure.c
= uicontextmenu(parent
)
Note: Specifying a parent alone does not make the context menu accessible in the UI. You must also take these steps:
See the Tips section for more information. |
specifies
a parent figure and one or more uicontextmenu properties.c
= uicontextmenu(parent
,Name,Value
)
uibuttongroup
| Uicontextmenu Properties | uicontrol
| uimenu
| uipanel