How to display Chinese character in edit text box in Matlab GUI?
7 ビュー (過去 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 で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!