Possible Duplicate:
text('hebrew string') matlab
shalom
I am trying to work with hebrew strings in matlab. but when I am trying to assign hebrew string to a variable, it doens’t assign it. for example:
a=’א’
a =
any ideas why?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Aleph is in UTF-16, which matlab represents with its standard 2 byte
charformat. It probably doesn’t support input of it this way.You probably have to do
And then output it some way readable by UTF-16.
If you’re trying to simply put Hebrew into a figure title or something, then you can directly write Latex like this:
If you are trying use Matlab for text processing, I think it will work but you might not be able to view the characters in the Matlab command window.
Update: On my system even writing to a file in the Hebrew encoding is not supported:
But maybe your machine supports it if you have Hebrew languages set up.