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?

Answers (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>');

Categories

Asked:

on 18 Dec 2014

Answered:

on 20 Dec 2014

Community Treasure Hunt

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

Start Hunting!