## Message box utility newMsgBox

The newMsgBox function is an alternative for the standard MSGBOX command in Matlab, which displays short messages in a dialog window. Although this function provides less control than MSGBOX, it improves the readability of the messages a little.

### Usage

`newMsgBox(Message)` creates a message box that automatically wraps Message to fit an appropriately sized dialog window. Message is a string vector, string matrix or cell array.

`newMsgBox(Message,Title)` specifies the title of the message box.

`newMsgBox(Message,Title,Font)` specifies the title and the font-settings for the message box. Font is a structure that contains the font-definitions. Valid fields are (default values for newMsgBox are displayed in curly braces):

    Font.FontAngle  [{normal} |italic | oblique]
    Font.FontUnits  [inches | centimeters | normalized |
                                      | {points} | pixels | data]
    Font.FontWeight [light | normal | demi | {bold}]
    Font.FontName   requested fontname {FactoryUIControlFontName}
    Font.FontSize   requested fontsize {FactoryUIControlFontSize}

Contrary to MSGBOX, it is not possible to specify an icon. It is also not possible to specify the window style and interpreter; use MSBOX if those options are required.