发布代码为PDF文件时中文乱码

56 vues (au cours des 30 derniers jours)
Donald Yang
Donald Yang le 23 Fév 2016
发布代码为html可正常显示中文,发布为PDF时中文乱码。 尝试将字体从默认的monospaced改为宋体或雅黑,问题依旧。 请问如何解决? R2010a
  2 commentaires
Explorer
Explorer le 23 Fév 2016
Please bother to translate your Question in English.
Donald Yang
Donald Yang le 26 Fév 2017
When publishing my matlab codes with comments in Chinese to PDF format, the Chinese characters in the comments always get garbled in the generated PDF file. Although they can be shown correctly when published to html format.
I tried to change the font from monospaced to simsun, but the problem still exists.
Any suggestion will be appreciated.

Connectez-vous pour commenter.

Réponses (1)

cui,xingxing
cui,xingxing le 17 Août 2018
please public your code to "doc" format,then save as "pdf" format.

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by