uidlg.m

Creates GUI-dialog with title, message and buttons.
1.9K Downloads
Updated 13 May 2004

No License

GUI window is created with buttons and messages the user can specify. The String that is pressed by the user will be returned.

% Usage:
%
% button=uidlg(title,message,button1,button2,button3,...)
%
% At least 3 input args must be specified. Any further button is
% optional.
%
% Example:
% button=('Error','Check DDE Server Connection','OK','Cancel')

Cite As

Stefan Billig (2026). uidlg.m (https://uk.mathworks.com/matlabcentral/fileexchange/4209-uidlg-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on App Building in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0

As remarked in the ratings, the window size has not been set according to the message lengths to be displayed; thus cutting off the message's last chars.