I can't comment my code with Chinese in matlab2022b

The Microsoft Input Method always appears in the top left of the screen when I comment my code with Chinese, I don't know how to change it. Is that a bug in the New version?

Réponses (1)

MJFcoNaN
MJFcoNaN le 16 Jan 2023

0 votes

你好,
强烈建议你避免中文字符。
就我所知,Matlab对中文字符的支持并不完善(不知道是不是Windows等操作系统层面的问题),经常出现代码中所有中文字符变成乱码、问号等不可逆损坏的情况。

1 commentaire

怎么可能,之前版本的matlab中文都用的好好的,自动生成的函数文件注释还是中文呢

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Compiler dans Centre d'aide et File Exchange

Produits

Version

R2022b

Question posée :

le 16 Jan 2023

Commenté :

le 16 Août 2024

Community Treasure Hunt

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

Start Hunting!

Translated by