Create panel container
p = uipanel creates a panel in the current figure
and returns the Panel object. If there is no
figure available, MATLAB® calls the figure function
to create one.
p = uipanel(
specifies panel property values using one or more name-value pair
arguments.Name,Value)
p = uipanel( creates
the panel in the specified parent container. The parent container
can be a figure created with either the parent)figure or
uifigure
function, or a child container such as a tab or grid layout.
Property values for uipanel vary slightly
depending on whether the app is created with the
figure or uifigure
function. For more information, see Name-Value Pair Arguments.
p = uipanel(
specifies the parent container and one or more properties
values.parent,Name,Value)
If you set the Visible property of a panel object to
'off', then any child objects it contains
(buttons, button groups, axes, etc.) become invisible along with the parent
panel. However, the Visible
property value of each child object remains
unaffected.