createButtonLabel(s​tring,varargin)

版本 1.6.0.0 (3.4 KB) 作者: Brett Shoelson
Easily label pushbuttons with (rotated, vertical, or multi-line) text.
2.6K 次下载
更新时间 2020/4/12

查看许可证

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.

引用格式

Brett Shoelson (2024). createButtonLabel(string,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/15018-createbuttonlabel-string-varargin), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.6.0.0

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

1.5.0.0

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

1.4.0.0

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

1.3.0.0

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

1.0.0.0