PDA

查看完整版本 : [求助]MATLAB添加工具箱时出错,请高手指点迷津!万分感激!


cqseu
2008-04-14, 10:52
按照下列步骤添加工具箱:
1、把新的工具箱解压到MATLAB中的toolbox目录。
2 、在matlab的file下面的set path把它加上。
3 、把路径加进去后在file→Preferences→General的Toolbox Path Caching里点击update Toolbox Path Cache更新一下。

结果命令窗口中出现下列提示:
??? XML-file failed validation against schema located in:
E:\MATLAB\R2008a\sys\namespace\info\v1\info.xsd
XML-file name: e:\matlab\r2008a\toolbox\robot\info.xml
To retest the XML-file against the schema, call the following java method:
com.mathworks.xml.XMLValidator.validate(...
'e:\matlab\r2008a\toolbox\robot\info.xml',...
'E:\MATLAB\R2008a\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.

未注册
2008-05-17, 14:10
我也碰到同样的问题 ,启动matlab时出现一系列的errors,但
部分函数能调用,但是不能动画显示,时robot toolbox 与matlab2008a 版本的问题吗

未注册
2008-09-27, 07:25
同样的问题!求高手帮忙。

daiwenyan
2008-11-18, 22:51
??? XML-file failed validation against schema located in:
我也是,我用的是R2007a,以前用7.0.1都没有问题的啊。不知道怎么回事、太受挫了。哪位来帮帮忙啊?

daiwenyan
2008-11-18, 22:55
还告诉我们XML-file name: g:\matlab\toolbox\hosa\higher-order spectral analysis (hosa) toolbox\hosa\info.xml
To retest the XML-file against the schema, call the following java method:
com.mathworks.xml.XMLValidator.validate(...
'g:\matlab\toolbox\hosa\higher-order spectral analysis (hosa) toolbox\hosa\info.xml',...
'G:\matlab\sys\namespace\info\v1\info.xsd', true)
能打开,但是怎么用JAVA调用啊?要调试吗?
Errors:
org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content starting with elemen