File Exchange

image thumbnail

createButtonLabel(s​tring,varargin)

version 1.6.0.0 (3.45 KB) by Brett Shoelson
Easily label pushbuttons with (rotated, vertical, or multi-line) text.

2 Downloads

Updated 12 Apr 2020

View Version History

View License

buttonIcon = createButtonLabel(string,PVs,figOpt)
Have you ever been frustrated by an inability to label a vertically oriented pushbutton or uicontrol with a string? This function is for you!

All valid Parameter-Value pairs, INCLUDING TEXT ROTATION, are supported. Note that this function requires the Image Processing Toolbox, and that it triggers the creation of a temporary figure, which will be momentarily visible during button-label creation.

Cite As

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

Comments and Ratings (1)

kurguz

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Embed Text and Graphics in an Image

Community Treasure Hunt

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

Start Hunting!