04-19-2009 05:40 PM - edited 04-19-2009 05:41 PM
I have recently installed DAQmx and am attempting to incorporate it with Matlab, however Matlab returns the error below at startup. Someone in another forum post elsewhere said there was a simple fix to "info.xml" to rectify the problem, however did not say what it was. Only that Mathworks did it for him. Anyone know what modification I should make to info.xml?
Matlab Error
**********************************************************************************
??? XML-file failed validation against schema located in:
C:\Program Files\MATLAB\R2008b\sys\namespace\info\v1\info.xsd
XML-file name: c:\program files\matlab\r2008b\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\r2008b\toolbox\natinst\daq\info.xml',...
'C:\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.
**********************************************************************************
info.xml
**********************************************************************************
<productinfo>
<matlabrelease>12</matlabrelease>
<name>NI-DAQmx Tools</name>
<area>toolbox</area>
<icon>$toolbox/natinst/daq/ni_eagle.gif</icon>
<list>
<listitem>
<label>NI-DAQmx Tools Help</label>
<callback>NIHelp</callback>
<icon>$toolbox/natinst/daq/ni_help.gif</icon>
</listitem>
<listitem>
<label>Demos</label>
<callback>demo toolbox 'NI Data Acquisition'</callback>
<icon>$toolbox/natinst/daq/ni_demos.gif</icon>
</listitem>
<listitem>
<label>Product Page</label>
<callback>OpenLVProductPage</callback>
<icon>$toolbox/natinst/daq/ni_info.gif</icon>
</listitem>
</list>
</productinfo>
********************************************************************************
04-19-2009 06:03 PM