Creates a simple dialog using system colours.
Updated 14 May 2003

No License


Function to create a screen-centred dialog box with the specified dimensions.

DIMENSIONS - specified in Pixels as [Width Height]

TITLE - String containing the text to appear in the Figure's title bar.

TAG - Unique string identifier

If no arguments are specified, a dialog box 300 x 200 will be created.

The handle to the dialog is returned.

Cite As

Richard Medlock (2024). MakeDialog (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Dialog Boxes in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes