createButtonLabel(s​tring,varargin)

Easily label pushbuttons with (rotated, vertical, or multi-line) text.

Download
Download

You are now following this Submission

Cite As

Brett Shoelson (2026). createButtonLabel(string,varargin) (https://se.mathworks.com/matlabcentral/fileexchange/15018-createbuttonlabel-string-varargin), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Embed Text and Graphics in an Image

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Fixed error due to changes in the way variables are shared in subfunctions.

Download
1.5.0

I have verified readiness for R2014b, and have removed an inadvertent dependence on the Statistics Toolbox.

Download
1.4.0

Now facilitates easy generation of pushbuttons with multiple lines of text. (Thanks to Dave Forstot for the suggestion.)

Download
1.3.0

Now easily facilitates creating pushbuttons with multi-line text. (Thanks to Dave Forstot for the suggestion.)

Download
1.0.0

Download