Code covered by the BSD License  

Highlights from
createButtonLabel

Be the first to rate this file! 6 Downloads (last 30 days) File Size: 3.3 KB File ID: #15018
image thumbnail

createButtonLabel

by Brett Shoelson

 

16 May 2007 (Updated 22 Jun 2009)

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

| Watch this File

File Information
Description

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.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
22 Jun 2009

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

22 Jun 2009

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

Tag Activity for this File
Tag Applied By Date/Time
gui tools Brett Shoelson 22 Oct 2008 09:12:57
example Brett Shoelson 22 Oct 2008 09:12:57
create button label rotate text Brett Shoelson 22 Oct 2008 09:12:57

Contact us at files@mathworks.com