我面临着一个相当棘手的问题。在 Matlab 中,命令 S = char(1044)
将俄语字母 д 放入变量 S。但是 disp(S) 返回空白符号,尽管内容实际上是正确的:
>> S = char(1044);
>> disp(S)
>> disp(S-0)
1044
如何让 Matlab 在命令窗口中显示俄文字母?
最佳答案
我不确定它是否有帮助,但看看这个:
- The custom font preferences for the Editor and Command windows in MATLAB must be set to monospaced, plain. Go to File->Preferences->Fonts->Custom. Select 'Editor' or 'Command Window' from the text box and change the font preferences.
取自: http://www.mathworks.com/support/solutions/en/data/1-8V70TK/index.html?product=ML&solution=1-8V70TK
https://stackoverflow.com/questions/8597402/