String for pushButton GUIDE GUI - using Greek letters

When I try to put in "α" into the String field of the GUIDE GUI pushButton, it replaces it with a blank character (as if there's an empty space there). How may I fix this so that I type in the α into the pushButton String?

Respuestas (1)

Muaaman - try using the following (unsupported) code that may do what you want. If your push button is tagged/named pushbutton1, then in the _OpeningFcn of your GUI add
set(handles.pushbutton1,'String','<html>&alpha</html>');

Categorías

Más información sobre Labels and Annotations en Centro de ayuda y File Exchange.

Preguntada:

el 18 de Dic. de 2014

Respondida:

el 20 de Dic. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by