Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

reading hebrew font

3 views
Skip to first unread message

Sharon Gilad

unread,
Aug 25, 2009, 10:07:03 AM8/25/09
to
Hi,

I have two computers at work - one uses matlab 2007a and the other uses matlab 2008a.

When I use matlab 2007a, I am able to read into a variable a string of hebrew text. For example, if I type into the command line:
a = 'עכבר';
Then I get:
a =

עכבר

However, when I try to do the same thing in matlab 2008a, then for some reason I am unable to assign hebrew text to a variable. That is, if I type:
a = 'עכבר';
Then I get that a equals some jibberish characters that look like squares (not hebrew characters).

Does anyone know why this happens and how I can use hebrew string characters in matlab 2008a as well?

Thanks,
Sharon.

Matt

unread,
Aug 25, 2009, 10:52:02 AM8/25/09
to
"Sharon Gilad" <sharon...@weizmann.ac.il> wrote in message <h70r67$j61$1...@fred.mathworks.com>...
==================================


Are the two versions are being run on the same computer?

In any case, type the following in both versions and report the output

>>double('&#1506;&#1499;&#1489;&#1512;')

Yair Altman

unread,
Feb 9, 2010, 8:05:04 PM2/9/10
to
"Sharon Gilad" <sharon...@weizmann.ac.il> wrote in message <h70r67$j61$1...@fred.mathworks.com>...

Simply change your Matlab preferences to use the Courier New font instead of the default font.

Yair Altman
http://UndocumentedMatlab.com

Matt J

unread,
Feb 9, 2010, 9:40:21 PM2/9/10
to
"Yair Altman" <altma...@gmailDEL.comDEL> wrote in message <hkt0o0$6jb$1...@fred.mathworks.com>...

> Simply change your Matlab preferences to use the Courier New font instead of the default font.
>


Nope. That didn't work for me:

>> a = '&#1506;&#1499;&#1489;&#1512;';

>> a

a =


0 new messages