|
|
| File Information |
| Description |
Have you ever wanted to create a pushbutton uicontrol containing a Greek letter, some other mathematical expression or even just a multi-line label? This function will do it for you. It is very easy to use as it accepts all the same arguments as uicontrol with the addition of the Interpreter property which you can set to 'tex' or 'latex' and the Rotation property to set the angle of rotation of the text. Also, you can pass in a cell array of strings for the String property to get a multi-line label. For example,
uibutton('String','Set \beta','Interpreter','tex')
Can also create something that looks like a text uicontrol.
|
| Acknowledgements |
This submission has inspired the following:
3D Puma Robot Demo, Euler angle, DCM, Quaternion, and Euler Vector Conversion/Teaching GUI
|
| MATLAB release |
MATLAB 7.8 (R2009a)
|
| Zip File Content |
|
| Other Files |
license.txt, uibutton.m
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (9) |
| 15 Apr 2006 |
Peter Nave
|
|
|
| 16 Apr 2006 |
Jiro Doke
|
|
|
| 04 Jun 2006 |
ebrahim sepidbar
|
|
|
| 19 Sep 2006 |
Trevor Fichera
|
|
|
| 19 Feb 2008 |
Agnieszka Herman
|
|
|
| 30 Mar 2008 |
ding lu
|
|
|
| 15 Apr 2008 |
Micke M
|
|
|
| 15 Apr 2008 |
Matthew Adler
|
|
|
| 28 Apr 2009 |
Emery
|
|
|
| Updates |
| 17 Apr 2006 |
Added ability to pass in figure or uipanel handle as first argument. Changed documentation. |
| 20 Apr 2006 |
Now make background pixels transparent thereby making button look more like a normal button. |
| 07 Mar 2010 |
Added ability to set the text rotation angle. |
| 10 Mar 2010 |
Fixed bug introduced in previous update. |
|
Contact us at files@mathworks.com