Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
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.
Citar como
Brett Shoelson (2026). createButtonLabel(string,varargin) (https://la.mathworks.com/matlabcentral/fileexchange/15018-createbuttonlabel-string-varargin), MATLAB Central File Exchange. Recuperado .
Agradecimientos
Inspiración para: Embed Text and Graphics in an Image
Información general
- Versión 1.6.0.0 (3,45 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
| Versión | Publicado | Notas de la versión | Action |
|---|---|---|---|
| 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 |
