How to display Chinese character in edit text box in Matlab GUI?
    조회 수: 11 (최근 30일)
  
       이전 댓글 표시
    
i Have to display chinese characters from db were i am able to display it in matlab console

But in gui only junk characters is displayed i use
 set(handles.edit1, 'String', mandarinTxtOut);%for display text in edittext

댓글 수: 0
채택된 답변
  Walter Roberson
      
      
 2014년 2월 18일
        
      편집: Walter Roberson
      
      
 2014년 2월 18일
  
      Unfortunately it cannot be done in a uicontrol('Style','edit') See http://www.mathworks.co.uk/matlabcentral/answers/114579-string-with-greek-font-and-suscrit-in-uitable
If you use style push you can do it. For example,
foo = uicontrol('Style','push', 'String','<HTML>AB到C');
추가 답변 (1개)
  Anandakumar Selvaraj
      
 2014년 2월 27일
        댓글 수: 2
  Lino Smaldo
 2015년 2월 22일
				I tried to use the command
feature('DefaultCharacterSet', 'UTF8') %# for Chinese Character support
but it doesn't work, why? please help me
참고 항목
카테고리
				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!
