필터 지우기
필터 지우기

passing unicode strings to standalone MATLAB application

조회 수: 1 (최근 30일)
Vinayak Phalke
Vinayak Phalke 2016년 2월 9일
편집: Kiran 2016년 2월 12일
Is there a way to correctly pass a unicode string to a standalone application compiled with MATLAB compiler?
I would like to pass in file names which are unicode (two byte characters) to process using MATLAB code compiled with MATLAB compiler. But it seems the default varargin command line arguments are based off ASCII strings and so they do not have the correct file name.

답변 (1개)

Kiran
Kiran 2016년 2월 12일
편집: Kiran 2016년 2월 12일
You can read Unicode string and then convert it to the required format using following command:
bytes = unicode2native(unicodestr,encoding)
Refer following documentation for the command:

카테고리

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