필터 지우기
필터 지우기

How to display chinese character in Matlab 2012B editor and command line?

조회 수: 2 (최근 30일)
Su Liu
Su Liu 2014년 4월 7일
답변: Gerald 2016년 9월 28일
Hi, I face an issue maybe lots of people have been troubled. My system is win 8.1 English. I have lot of codes which have Chinese commend and display outputs.
I have try to do something, 1. change my "Regional and Language Options" to "Chinese (PRC)" 2. change fonts set to 'simsum'
Still display junk like
% m_pstResultDataStruct: ÓÃÓÚÄÚ²¿¼ÆËãµÄÅÓ´óµÄÊý¾Ý½á¹û
Please help!
  댓글 수: 3
Rafael Gontijo
Rafael Gontijo 2016년 4월 22일
I have the same issue, and I am using the English one. Help !
Andreas Goser
Andreas Goser 2016년 4월 27일
You can't be sure it is the same issue, as the other user did not mention the release used ;-) But seriously, this is a 2y old question and the user didn't bother to respond, so please don't expect timely help. Please call into technical support.

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

답변 (1개)

Gerald
Gerald 2016년 9월 28일
"Those Chinese comments in a M-file became strange symbols after re-open in Matlab Editor (even anyelse editors). The problem lies in the setting of "Standards and formats" setting of "Regional and Language Options". Set it to "Chinese (PRC)" and then the problem solved. Thus, it seems that Matlab read location information from this section and determine the lunguage with which it displays and stores contents."

카테고리

Help CenterFile Exchange에서 Just for fun에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by