我每次打开matlab都会报错,但是又不影响使用,请问是什么原因

??? XML-file failed validation against schema located in:
E:\win7 Program Files\MATLAB\R2008b\sys\namespace\info\v1\info.xsd

XML-file name: e:\win7 program files\matlab\r2008b\toolbox\robot\info.xml
To retest the XML-file against the schema, call the following java method:
com.mathworks.xml.XMLValidator.validate(...
'e:\win7 program files\matlab\r2008b\toolbox\robot\info.xml',...
'E:\win7 Program Files\MATLAB\R2008b\sys\namespace\info\v1\info.xsd', true)

Errors:
org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'area'. One of
'{MathWorksID, type}' is expected.

这个原因是这样的,可能是有两个这样的文件冲突了。
你看看你添加到toolbox里面的那个robot工具箱文件夹里面是不是有一个XML文件,你把这个文件复制到E:\win7 Program Files\MATLAB\R2008b\sys\namespace\info\v1下面,然后删掉toolbox下robot工具箱文件夹里面的那个XML文件,即toolbox\robot\info.xml,然后重新file-setpath,reference-genenal-updated(更新工具箱),这时候重启Matlab就不会有刚才的错误了。
你试试
温馨提示:答案为网友推荐,仅供参考
第1个回答  2019-09-13
这个原因是这样的,可能是有两个这样的文件冲突了。
第2个回答  2010-04-20
win7 系统暂时不兼容 MATLAB6.5 7.1 ,支持MATLAB2009,你换换试试。本回答被提问者采纳
第3个回答  2010-04-20
MATLAB和操作系统不兼容
相似回答