1:问题出现如图
2:解决方法及步骤一
要记得配置好环境变量哦,如果一打开就出现runtime error的情况,说明是环境变量设置问题,我们可以右击matlab图标--属性--兼容性--以兼容模式运行这个程序--Windows Vista--应用--确定。
3:解决方法及步骤二
如果进行了上述操作之后还是不行,打开之后还是闪退的话,那么说明在安装文件里面缺少文件,对于处理器为AMD的电脑来说,需要在安装目录下面添加一个文件atlas_athlon.dll,然后复制到安装目录下面。
请按如下步骤进行:
a、右击我的电脑,选择属性.
b、在"高级"选项卡中点击"环境变量"
c、在系统变量下面新建环境变量:
变量名:BLAS_VERSION,
变量值:D:Matlab7binwin32atlas_Athlon.dll (D表示你自己的安装目录)
d、保存--应用--确定--然后重新打开matlab,这样就ok!
4:解决方法及步骤三
解决了上面的问题之后如果还有以下情况的话:
The element type "name" must be terminated by the matching end-tag "".
找到安装目录下的info.xml文件,用记事本打开。我的安装目录是:E:\MATLAB7\toolbox\ccslink\ccslink
用记事本打开,显示如下内容:
<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>
<list>
<listitem>
<label>Help</label>
<callback>doc ccslink/</callback>
<icon>$toolbox/matlab/icons/book_mat.gif</icon>
</listitem>
修改红色标记处:将/name>改为</name>
好啦,这样将可以解决matlab的run time error!
感谢喜欢!点赞加油!