I can't comment my code with Chinese in matlab2022b

9 views (last 30 days)
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)

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

Categories

Find more on Programming in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!