FUNCTION REFERENCE
uiprogressdlg
Create a progress dialog box in a UI figure.
Create a progress dialog box in a UI figure.
Syntax
d = uiprogressdlg(fig)Syntax
d = uiprogressdlg(fig, Name, Value)Returns a progress dialog handle with Title, Message, Value (0 to 1), Indeterminate, Cancelable, CancelText, ShowPercentage, Icon, Interpreter, and read-only CancelRequested. Close with close(d) or delete(d); call drawnow in loops so desktop updates and Cancel clicks process.
Example
fig = uifigure; d = uiprogressdlg(fig, 'Title', 'Working', 'Value', 0.25); d.Value = 0.75; close(d); delete(fig)Differences from MATLAB: Custom image icon arrays and HTML interpreter are not supported; in -batch mode properties update in memory without a visible dialog.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.