image thumbnail


バージョン (3.45 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 (2022). createButtonLabel(string,varargin) (, MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2014b
Windows macOS Linux

ヒントを与えたファイル: 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!