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

New to MATLAB?

greek letters in GUI...

Asked by Chris E.

Chris E. (view profile)

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

0 Comments

Chris E.

Chris E. (view profile)

Products

No products are associated with this question.

1 Answer

Answer by Walter Roberson

Walter Roberson (view profile)

on 30 Nov 2012
Accepted answer

2 Comments

Chris E.

Chris E. (view profile)

on 30 Nov 2012

thanks!

Image Analyst

Image Analyst (view profile)

on 30 Nov 2012

Nice - I've added it to the FAQ.

Walter Roberson

Walter Roberson (view profile)

Contact us