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.
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('עכבר')
Simply change your Matlab preferences to use the Courier New font instead of the default font.
Yair Altman
http://UndocumentedMatlab.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 = 'עכבר';
>> a
a =