How to display Chinese character in edit text box in Matlab GUI?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Anandakumar Selvaraj
le 18 Fév 2014
Commenté : Avishai
le 24 Fév 2015
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 commentaires
Réponse acceptée
Walter Roberson
le 18 Fév 2014
Modifié(e) : Walter Roberson
le 18 Fév 2014
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 commentaire
Plus de réponses (1)
Anandakumar Selvaraj
le 27 Fév 2014
2 commentaires
Lino Smaldo
le 22 Fév 2015
I tried to use the command
feature('DefaultCharacterSet', 'UTF8') %# for Chinese Character support
but it doesn't work, why? please help me
Voir également
Catégories
En savoir plus sur Environment and Settings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!