matlab环境配置

一.环境变量设置

AMD处理器:右键单击我的电脑 属性 — >高级 —> 环境变量 —> 系统变量 —> 新建 变量名:BLAS_VERSION,值为安装目录\atlas_Athlon.dll.路径是相对的,根据的安装的路径来设置变量的值,如默认安装于C盘则设为 C:\MATLAB7\bin\win32\atlas_Athlon.dll.

atlas_Athlon.dll文件是为了能让AMD芯片正常支持MATLAB的运行.

如果在P3或P4处理器的PC上MATLAB不能正常运行可以把atlas_Athlon.dll改为CPU对应的文件。

二.对于win7,win8下MATLAB7运行runtime error

 

1.更改MATLAB桌面图标的属性,将兼容性改到xp sp3或者win2000也可以直接把桌面主题换成windows经典

2.右击”我的电脑”—>”属性”—>”高级”选项卡—>”环境变量”按钮—>双击”TMP”的环境变量
此时会出现一个编辑选项框,把原来的值删掉,因为这个值里面包含了中文,或许你直接看不到,用”C:/Temp”这个值来代替原来的值,然后再安装 matlab7.0,就没有问题了

3.Java不兼容

MATLAB自6.5版本之后开始使用JAVA开发,MATLAB7.0 使用的JAVA版本是1.4.2 。这个可以在 C:\MATLAB7\sys\java\jre\win32 里面看到。但,对于电脑里装的高于1.4.2的Java版本,很显然MATLAB7.0是不可以向上兼容的,因此出现了Runtime Error的问题。

解决:

goto C:\Program Files\Java copy folder named jreX or something like that
install latest jre before this
then open F:\MATLAB7\sys\java\jre\win32 or to a similar folder in c: where you installed matlab paste the copied folder in that folder rename a folder named jre1.4.2 which is already in the folder or similar folder to a different name and give the newly copied folder the old name of the folder which you just renamed
this will work definitely it worked for me on windows 7 with every theme

参考:http://www.mathworks.com/matlabcentral/newsreader/view_thread/161248

posted @ 2014-09-30 22:46  FleetingTime  阅读(5566)  评论(0编辑  收藏  举报