- 积分
- 3935
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-9-10
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 心灵之约 于 2012-12-4 13:30 编辑
此文转载自dynamic的原创帖子,如需转载请出名出处,谢谢。
仅供大家学习交流使用。
MATLAB升级以后,功能的确丰富了好多,有些函数也更加人性话了,好多bug也没有了。但是可恼的是,这个该死的家伙却一天比一天肥,MATLAB7.6a居然达到了3.76G,启动和打开某些窗口,速度明显不行了,真是尾大不掉呀。
下面我们说说,MATLAB初始化initializing极慢解决方法,但是可能导致Matlab启动的初始化很慢原因很多,这里我们只能对常见的集中可能的原因进行分析:
一、License方面原因
问题原因:
由于Matlab启动的时候会搜索Matlab的License文件,而计算机系统变量LM_LICENSE_FILE,则是用来告诉所有的应用程序从哪里找到对应的License文件
另外系统变量LM_LICENSE_FILE也可能导致初始化很慢,但是该变量只对Matlab负责,LM_LICENSE_FILE是对所有的程序负责
但是假如你的Matlab使用的是网络版的License,你计算机没有联网当然没法找到那个network license
解决方法:
方法一
windows...
Unix,Linux,or Mac
Check to see if there is an environment variable set. Where this is located depends on the shell you are using. Look in your home folder. This file may be called: .cshrc (c-shell), .profile (bash), or .bashrc (bash)
You can also create an environment variable for that shell session from the command line using export or setenv (depending on your shell), but the above file needs to be edited for a permanent change.
For example:
- export MLM_LICENSE_FILE /usr/bin/matlab/license.dat
复制代码
方法二
如果你只有一个License,那么你可以当Matlab启动的时候,在Maltab快捷方式或者命令行中指定License路径
windows
Unix,Linux,or Mac
Use a -c switch to point directly at the license file when launching.
If the MATLAB installer has created symbolic links, run
- matlab -c <Full Path to the MATLAB license file including file name>
复制代码
If symbolic links were not created, run from $MATLAB/bin/
- ./matlab -c <Full Path to the MATLAB license file including file name>
复制代码 Where $MATLAB is the root MATLAB directory and <Path to the MATLAB license file> is the absolute path to your license file, likely in your $MATLAB/licenses directory.
二、preferences方面原因
问题原因:
preferences首选参数设置的不得当,或者文件太大,Matlab启动的时候加载preferences设置需要较长时间
解决方法:
三、其他方面原因
|
评分
-
查看全部评分
|