安装Matlab工具箱的一些注意事项
2011-04-13 12:16
591 查看
安装:
1、 如果是Matlab安装光盘上的工具箱,重新执行安装程序,选中即可。
2 、如果是单独下载的工具箱,一般情况下仅需要把新的工具箱解压到某个目录;
2、1在matlab的file下面的set path把它加上。
2、2 把路径加进去后在file→Preferences→General的Toolbox Path Caching里点击update Toolbox Path Cache更新一下。
2、3 用which newtoolbox_command.m来检验是否可以访问。如果能够显示新设置的路径,则表明该工具箱可以使用了。
问题:
??? XML-file failed validation against schema located in:
C:/Program Files/MATLAB/R2008a/sys/namespace/info/v1/info.xsd
XML-file name: c:/program files/matlab/r2008a/toolbox/natinst/daq/info.xml
To retest the XML-file against the schema, call the following java method:
com.mathworks.xml.XMLValidator.validate(...
'c:/program files/matlab/r2008a/toolbox/natinst/daq/info.xml',...
'C:/Program Files/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.
解决:
Edit the info.XML file at the path indicated in MATLAB's err message. First lines may look like this:
<productinfo>
<matlabrelease>12</matlabrelease>
<name>NI-DAQmx Tools</name>
<area>toolbox</area>
<icon>$toolbox/natinst/daq/ni_eagle.gif</icon>
That 4th line, which tries to set the 'area' to be 'toolbox' is confusing MATLAB. Must set 'type' not 'area'. Change that line to this:
<type>toolbox</type>
P.S.
Only edit the NI 'info.XML' Edit one with path like:
c:/program files/matlab/r2008a/toolbox/natinst/daq/info.xml
Not the one in /toolbox/daq/daq
1、 如果是Matlab安装光盘上的工具箱,重新执行安装程序,选中即可。
2 、如果是单独下载的工具箱,一般情况下仅需要把新的工具箱解压到某个目录;
2、1在matlab的file下面的set path把它加上。
2、2 把路径加进去后在file→Preferences→General的Toolbox Path Caching里点击update Toolbox Path Cache更新一下。
2、3 用which newtoolbox_command.m来检验是否可以访问。如果能够显示新设置的路径,则表明该工具箱可以使用了。
问题:
??? XML-file failed validation against schema located in:
C:/Program Files/MATLAB/R2008a/sys/namespace/info/v1/info.xsd
XML-file name: c:/program files/matlab/r2008a/toolbox/natinst/daq/info.xml
To retest the XML-file against the schema, call the following java method:
com.mathworks.xml.XMLValidator.validate(...
'c:/program files/matlab/r2008a/toolbox/natinst/daq/info.xml',...
'C:/Program Files/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.
解决:
Edit the info.XML file at the path indicated in MATLAB's err message. First lines may look like this:
<productinfo>
<matlabrelease>12</matlabrelease>
<name>NI-DAQmx Tools</name>
<area>toolbox</area>
<icon>$toolbox/natinst/daq/ni_eagle.gif</icon>
That 4th line, which tries to set the 'area' to be 'toolbox' is confusing MATLAB. Must set 'type' not 'area'. Change that line to this:
<type>toolbox</type>
P.S.
Only edit the NI 'info.XML' Edit one with path like:
c:/program files/matlab/r2008a/toolbox/natinst/daq/info.xml
Not the one in /toolbox/daq/daq
相关文章推荐
- Linux下安装MATLAB的一些注意事项
- Matlab标定工具箱使用的一些注意事项
- Matlab标定工具箱使用的一些注意事项
- Matlab标定工具箱使用的一些注意事项
- Java简介、安装及一些注意事项
- Mac brew 安装 php7 一些注意事项
- CentOS 7 最小化安装后的注意事项及一些必备组件的安装
- DB2安装步骤和一些注意事项
- Matlab prtools工具箱中 nbayes函数调用注意事项
- 【NetApp】安装Cmode时的一些注意事项
- MATLAB R2011b 神经网络工具箱注意事项
- win7安装注意事项及一些美化设置
- Amd+Vmware+Mac Os X10.6 虚拟机安装苹果操作系统时一些注意事项
- 【caffe-Windows】微软官方caffe之matlab接口配置,以及安装caffe的注意事项
- Ubuntu 16.04 桌面版安装后的一些注意事项
- ruby on rails的一些安装注意事项
- 关于NVIDIA驱动安装一些注意事项
- kaldi 中安装GridEngine的一些注意事项
- Adams-Matlab联合仿真Forces反馈的一些注意事项
- PG数据库在一些平台上的安装注意事项