How can i display malayalam language in matlab?

조회 수: 1 (최근 30일)
yadu krishnan
yadu krishnan 2016년 11월 12일
댓글: Neethu K 2020년 6월 27일
I need to display my native language in a matlab coding for a project about OCR
  댓글 수: 5
Walter Roberson
Walter Roberson 2020년 6월 27일
Do you mean you installed https://www.wfonts.com/font/ml-ttkarthika ?
Neethu K
Neethu K 2020년 6월 27일
That is already in the matlab font. But it doesnt give the correct display.Still it shows square box in the input text box.

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

답변 (1개)

Walter Roberson
Walter Roberson 2016년 11월 12일
편집: Walter Roberson 2016년 11월 12일
P0 = hex2dec('0D00'); P7F = hex2dec('0D7f');
butnot = cellfun(@hex2dec, {'0D00','0D04', '0D0D', '0D11', '0D3B', '0D3C', '0D45', '0D49', '0D50', '0D51', '0D52', '0D53', '0D64', '0D65'});
maychars = char(setdiff(P0:P7F, butnot));
Now,
disp(maychars)
should display the characters.
On my OS-X El Capitan system, even if I set Preferences -> Fonts -> Malayalam NS, some of the characters come up as squares, indicating that the character has no glyph. It appears from other sources that Unicode has added characters in the last few years and that the fonts I am using have not caught up yet.
In MS Windows, what you get displayed might depend on your MATLAB version and what your Windows regional settings are.
  댓글 수: 3
Walter Roberson
Walter Roberson 2016년 11월 14일
Which operating system are you using? Also, are you using a 32 bit version of MATLAB or a 64 bit version?
yadu krishnan
yadu krishnan 2016년 12월 11일
64 bit windows matlab 2014a

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

카테고리

Help CenterFile Exchange에서 App Building에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by