uifiledropfield
gui · scripts/gui/uifiledropfield.m
UIFILEDROPFIELD Create a file drag-and-drop field (App Designer style).
fd = uifiledropfield
fd = uifiledropfield (parent)
fd = uifiledropfield (..., Name, Value)
Returns a matlab.ui.control.FileDropField object. MATLAB R2026a does not
yet ship this component; Nexus provides a headless-capable stand-in so apps
can accept a dropped file path (for example a CSV) via fd.drop (path).
Name-Value properties:
Value, Placeholder, Filter, Multiselect, ValueChangedFcn, DropFcn,
Enable, Visible, Parent, Position, Tooltip, Tag
Error identifiers follow the EditField pattern:
MATLAB:ui:FileDropField:unknownInput
MATLAB:ui:FileDropField:FileFilterMismatch
See also uieditfield, uigetfile, uifigure.