zoukankan      html  css  js  c++  java
  • matlab环境配置

    一.环境变量设置

    AMD处理器:右键单击我的电脑 属性 — >高级 —> 环境变量 —> 系统变量 —> 新建 变量名:BLAS_VERSION,值为安装目录atlas_Athlon.dll.路径是相对的,根据的安装的路径来设置变量的值,如默认安装于C盘则设为 C:MATLAB7inwin32atlas_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:MATLAB7sysjavajrewin32 里面看到。但,对于电脑里装的高于1.4.2的Java版本,很显然MATLAB7.0是不可以向上兼容的,因此出现了Runtime Error的问题。

    解决:

    goto C:Program FilesJava copy folder named jreX or something like that
    install latest jre before this
    then open F:MATLAB7sysjavajrewin32 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

    Keep It Simple and Stupid.
  • 相关阅读:
    嵌入式系统的应用
    linux shell编程
    JS高级学习历程-1
    JavaScript入门
    二叉树 数据结构
    用css固定textarea文本域大小尺寸
    ie img 3px bug
    OpenCV-Python(1)在Python中使用OpenCV进行人脸检测
    教你用Python解决非平衡数据问题(附代码)
    图片人脸检测(OpenCV版)
  • 原文地址:https://www.cnblogs.com/FleetingTime/p/4002779.html
Copyright © 2011-2022 走看看