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

  0 Comments

Products

No products are associated with this question.

1 Answer

Answer by Walter Roberson
on 30 Nov 2012
 Accepted answer

  2 Comments

Chris E.
on 30 Nov 2012

thanks!

Image Analyst
on 30 Nov 2012

Nice - I've added it to the FAQ.


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today