FUNCTION REFERENCE

uidropdown

Create drop-down selection component.

Create drop-down selection component.

Syntax

dd = uidropdown

Syntax

dd = uidropdown(parent, Name, Value)

Selects an entry from Items (or ItemsData) with Value, Editable, and ValueChangedFcn.

Example

fig = uifigure; dd = uidropdown(fig, 'Items', {'A', 'B'}, 'Value', 'B'); dd.Value; delete(fig)

Differences from MATLAB: Placeholder, ValueIndex, and ClickedFcn are not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.