Create menu or menu items
m = uimenu
creates a menu in the current figure and returns the
Menu
object. If there is no figure available, MATLAB® calls the figure
function to create one.
m = uimenu(
specifies menu property
values using one or more name-value pair arguments.Name,Value
)
m = uimenu(
creates the menu in the
specified parent container. The parent container can be a figure created with either the
parent
)figure
or uifigure
function, or another Menu
object. Property values
for uimenu
vary slightly depending on whether the app is created with
the figure
or uifigure
function. For more
information, see Name-Value Pair Arguments.
m = uimenu(
specifies the parent container and one or more property values.parent
,Name,Value
)