String for pushButton GUIDE GUI - using Greek letters

1 view (last 30 days)
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?

Answers (1)

Geoff Hayes
Geoff Hayes on 20 Dec 2014
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>');

Categories

Find more on Labels and Annotations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!