HOW CAN I READ UNICODE TEXT DOCUMENT IN MATLAB AND DISPLAY ON COMMAND WINDOW
5 ビュー (過去 30 日間)
古いコメントを表示
Actually i am trying to read text document containing unicodes using matlab which is very much required for my project
0 件のコメント
回答 (2 件)
Sudha S
2015 年 9 月 30 日
Use textscan command in matlab.It reads formatted data files or strings
0 件のコメント
Walter Roberson
2015 年 9 月 30 日
http://www.mathworks.com/help/matlab/ref/native2unicode.html and http://www.mathworks.com/help/matlab/ref/unicode2native.html
For example, on my system,
native2unicode([225 131 161],'UTF-8')
native2unicode(sscanf('e48ca1','%2x'),'UTF-8')
Whether your system would display the same thing is going to depend upon the font you have active and upon your locale; see http://www.mathworks.com/help/matlab/internationalization.html
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Characters and Strings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!