フィルターのクリア

How can I use special letter like ő in a gui?

3 ビュー (過去 30 日間)
Zoltán Gillay
Zoltán Gillay 2016 年 10 月 4 日
コメント済み: Zoltán Gillay 2016 年 10 月 4 日
For example in the Hungarian language we use a letter ő. I need to use it in a gui but it shows question mark instead. Is there any way to have words with these special letters as text in a gui?
  2 件のコメント
Jan Orwat
Jan Orwat 2016 年 10 月 4 日
編集済み: Jan Orwat 2016 年 10 月 4 日
Which MATLAB version do you use? On which platform?
Zoltán Gillay
Zoltán Gillay 2016 年 10 月 4 日
MATLAB R2016a on Windows 10.

サインインしてコメントする。

回答 (1 件)

Bert
Bert 2016 年 10 月 4 日
hi,
You should use latex symbols (list can be found here). for example in a title:
a = title('\H{o}');
But the object is likely set to interpreter it as tex (not latex) and will not display it right. So change it:
set(a,'Interpreter','latex');
It should work on objects other than titles as well.
  1 件のコメント
Zoltán Gillay
Zoltán Gillay 2016 年 10 月 4 日
Sorry, I was not specific enough. I would like to do for example: set(handles.text1,'String','sutő') The problem there is no Interpreter property on the text UIControl class.

サインインしてコメントする。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by