String for pushButton GUIDE GUI - using Greek letters

5 次查看(过去 30 天)
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?

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Labels and Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by