I can't comment my code with Chinese in matlab2022b

5 次查看(过去 30 天)
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?

回答(1 个)

MJFcoNaN
MJFcoNaN 2023-1-16
你好,
强烈建议你避免中文字符。
就我所知,Matlab对中文字符的支持并不完善(不知道是不是Windows等操作系统层面的问题),经常出现代码中所有中文字符变成乱码、问号等不可逆损坏的情况。
  1 个评论
Chenye Zhou
Chenye Zhou 2024-8-16
怎么可能,之前版本的matlab中文都用的好好的,自动生成的函数文件注释还是中文呢

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by