MATLAB Answers

Chris E.

greek letters in GUI...

Asked by Chris E.
on 30 Nov 2012

Hello All, I know this should be easy but I seem to not be able to it. I would like to put '/mu' of the Greek alphabet in a text in my GUI and can not seem to be able to do it. it always prints out: /mu and not the correct mu letter.

Here is the code I use (one full line):

set(handles.EmittanceX,'String',[num2str(emit*10^6,'%2.3f'),char(177), num2str(er_emit*10^6,'%2.3f'),' /mu']);

The char(177) is the '/pm' but again I was not able to make that work. Thanks, Chris



No products are associated with this question.

1 Answer

Answer by Walter Roberson
on 30 Nov 2012
 Accepted answer



Nice - I've added it to the FAQ.

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!