gpt4 book ai didi

matlab - Matlab 命令窗口中的俄文字母

转载 作者:行者123 更新时间:2023-12-05 08:10:21 30 4
gpt4 key购买 nike

我面临着一个相当棘手的问题。在 Matlab 中,命令 S = char(1044) 将俄语字母 д 放入变量 S。但是 disp(S) 返回空白符号,尽管内容实际上是正确的:

>> S = char(1044);
>> disp(S)

>> disp(S-0)
1044

如何让 Matlab 在命令窗口中显示俄文字母?

最佳答案

我不确定它是否有帮助,但看看这个:

  1. 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

关于matlab - Matlab 命令窗口中的俄文字母,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8597402/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com