uibuttongroup
Creates a button group in a figure to group radio buttons.
Syntax
h = uibuttongroup()
h = uibuttongroup(property, value, ...)
h = uibuttongroup(parent, property, value, ...)
Inputs
- parent
- Handle of a container object, which could be a figure, frame, uipanel, or uibuttongroup.
- property, value
-
- 'backgroundcolor'
- Specifies the background color. Valid values are 'transparent' or a real vector specifying RGB values in the range 0-255 or 0-1.
- 'parent'
- Specifies the parent.
- 'position'
- Position and size of h. Value is specified as a vector of form: [left top width height]. If 'units' has a value of 'normalized', values must be between 0 to 1.
- 'string'
- Text to be displayed in h.
- 'tag'
- User-defined string to tag graphical control objects.
- 'units'
- Specifies units of measurement. Valid values are 'pixels'(default) and 'normalized'.
Outputs
- h
- Handle of the uibuttongroup.