故障二:打开matlab就出现如下的提示 "The markup in the document preceding the root element must be well-formed.
Could not parse the file: d:\matlab7.0\toolbox\ccslink\ccslink\info.xml"
or
The element type "name" must be terminated by the matching end-tag "</name>". Could not parse the file: d:\matlab7\toolbox\ccslink\ccslink\info.xml.第一个问题解决后,可能出现这个故障. 解决方法是:
找到d:\matlab7\toolbox\ccslink\ccslink\info.xml 这个文件,一定要用写字板打开这个文件 ,找到有一行这样的<name>Link for Code Composer Studio?/name>,大概是在第七行吧,把这句的/name>改成</name>,再保存一下这文件。
这样修改后,应当不会有问题了.
如果你还是看不懂的话就把下面的内容(不包括引号)复制到记事本上,然后把名字改为“info.xml”,再替换你matlab里面的那个“info.xml”
内容如下:
“<productinfo
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.mathworks.com/namespace/info/v1/info.xsd">
<?xml-stylesheet type="text/xsl" href="http://www.mathworks.com/namespace/info/v1/info.xsl"?>
<!--Copyright 2004 The MathWorks, Inc. -->
<matlabrelease>14</matlabrelease>
<name>Link for Code Composer Studio?</name>
<type>toolbox</type>
<product_name_ends_with_type>false</product_name_ends_with_type>
<icon>$toolbox/ccslink/ccslink/boardicon.gif</icon>
<help_location>$docroot/toolbox/ccslink</help_location>