msgboxFontSize

Change the fontsize and other text properties in a msgbox(), errordlg(), warndlg() etc.

Download
Download

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Cite As

Adam Danz (2026). msgboxFontSize (https://www.mathworks.com/matlabcentral/fileexchange/68460-msgboxfontsize), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Spur-Gear-Designer

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with R2014b and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.3.0

Now compatible with older releases (tested in r2014a, r2016a, r2017b, r2019a).
Replaces isvalid() with ishghandle() and dot notation with get/set.

Download
2.2.0

Properties now applied to buttons though the buttons are not resized.

Download
2.1.1

Just updated the description. No change to m file.

Download
2.1.0

1) suppresses output from set() when inputs do not include property-value pairs.
2) includes button handle outputs.

Download
2.0.0

Added the ability to specify all name-value text properties.

Download
1.0.1

Simplified one line by replacing set() with dot notation.

Download
1.0.0

Download