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?

Answers (1)

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

1 Comment

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

Sign in to comment.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Release

R2022b

Asked:

on 16 Jan 2023

Commented:

on 16 Aug 2024

Community Treasure Hunt

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

Start Hunting!