该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
1、win10系统编码已经改为utf8
2、D:\Program Files\Polyspace\R2019b\bin\lcdata.xml(lcdata_utf8.xml复制过来的,2017版后lcdata是空配置)以作下面改动:
删除lcdata.xml中的:
< encoding_alias name=”936”>
并将:
改为:
重启后:
>> feature('locale')
ans =
包含以下字段的 struct:
ctype: 'zh_CN.GBK'
collate: 'zh_CN.GBK'
time: 'zh_CN.GBK'
numeric: 'en_US_POSIX.GBK'
monetary: 'zh_CN.GBK'
messages: 'zh_CN.GBK'
encoding: 'GBK'
terminalEncoding: 'GBK'
jvmEncoding: 'UTF-8'
status: 'MathWorks locale management system initialized.'
warning: ''
>>
还是GBK编码。各位大佬有没有解决方案?谢啦