Related to Arabic langage

조회 수: 6 (최근 30일)
Ebtesam Almansor
Ebtesam Almansor 2016년 9월 27일
답변: Abed 2022년 3월 13일
Hi there, I have problem to deal with Arabic language in mat lab, the output appear like???????. I try to used this code
stopword='هذه'
stopword=native2unicode(stopword ,'UTF-8');
but it the out put and the array in work space print ??????? rather than Arabi
  댓글 수: 1
Dan Po
Dan Po 2016년 9월 27일
theres probably a. arabic language package somewhere. it doesnt look like matlab recognizes the characters.

댓글을 달려면 로그인하십시오.

답변 (3개)

Ebtesam Almansor
Ebtesam Almansor 2016년 9월 29일
How can I solve it please

Michael Abboud
Michael Abboud 2016년 9월 29일
The ability to use Unicode characters in the MATLAB Command Window was incorporated into MATLAB R2014b and all future releases. From your description, it sounds like you may have a previous version, in which case upgrading to a more recent release such as MATLAB R2016b should solve the issue.
If you are unable, there is a possible workaround. You may be able to get MATLAB to display sets of the Unicode characters by setting the computer's locale correctly. The steps for this vary from OS to OS, but can be found through the following command:
>> docsearch Setting the Locale

Abed
Abed 2022년 3월 13일
Hello,
you can write:
>> stopword=native2unicode('هذه' ,'UTF-8');

카테고리

Help CenterFile Exchange에서 Characters and Strings에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by