12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

msgboxPurpose2msgboxDisplay message boxSyntaxDescriptionmsgbox(message)msgbox(message,title)msgbox(message,title,'icon')msgbox(message,title,'custom',iconData,iconCmap)msgbox(...,'createMode')h = msgbox(...)msgbox(message) creates a message box that automatically wraps message tofit an appropriately sized figure. message is a string vector, string matrix, orcell array.msgbox(message,title) specifies the title of the message box.msgbox(message,title,'icon') specifies which icon to display in the messagebox. 'icon’ is 'none', 'error', 'help', 'warn', or 'custom'. The default is'none'.Error Icon Help Icon Warning Iconmsgbox(message,title,'custom',iconData,iconCmap) defines a customizedicon. iconData contains image data defining the icon; iconCmap is the colormapused for the image.msgbox(...,'createMode') specifies whether the message box is modal ornonmodal, and if it is nonmodal, whether to replace another message box withthe same title. Valid values for 'createMode' are 'modal', 'non-modal', and'replace'.h = msgbox(...) returns the handle of the box in h, which is a handle to aFigure graphics object.See Alsodialog, errordlg, inputdlg, helpdlg, questdlg, textwrap, warndlg2-305

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!