(4)重启Matlab,此时predir下会重新创建一个R2009a文件夹,里面包含了所有的preferences设置,只是属性值都是默认的 , 当然以前对Matlab的设置全部没有了
(5)如果觉得不满意,那么将新生成的R2009a删除,将R2009a_old重新改为R2009a就可以恢复以前的设置了 。
Linux, Unix, or Mac
1) Quit MATLAB. Ensure that MATLAB is no longer running.
2) Rename the “.matlab/” directory in the users home directory, to “.matlab_old/”.
3) Restart MATLAB.
二、License方面原因
问题产生原因:
每次Matlab启动的时候会自动搜索Matlab的License文件,而计算机系统变量LM_LICENSE_FILE,则是用来告诉所有的应用程序从哪里找到对应的License文件
另外系统变量LM_LICENSE_FILE也可能导致初始化很慢,但是该变量只对Matlab负责,LM_LICENSE_FILE是对所有的程序负责
但是假如你的Matlab使用的是网络版的License,你计算机没有联网就会导致无法找到network license
解决方法:
方法一
windows
(1)右击【我的电脑】选择【属性】
(2)在【高级】选项卡中,点击【环境变量】
(3)在下面的【系统变量】找到【LM_LICENSE_FILE】,如果没有 , 点击【新建】创建一个变量名为LM_LICENSE_FILE的变量
(4)将LM_LICENSE_FILE的属性值设置为Maltab的License文件的绝对路径
(5)重启Matlab
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
(1)右击Matlab快捷方式,选择【属性】
(2)在【目标】中,键入如下内容”$MATLAB\bin\win32\MATLAB.exe” -c “Full Path to the MATLAB license file including file name”
复制代码其中$MATLAB是Matlab安装根目录,可以在Matlab中键入matlabroot得到,Path to the MATLAB license file是License文件的绝对路径
(3)重启Matlab
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, runmatlab -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.
关于Linux命令响应慢和linux命令执行慢的介绍到此就结束了,不知道你从中找到你需要的信息了吗 ?如果你还想了解更多这方面的信息,记得收藏关注本站 。
- 如何使用cmd命令行提示符登录mysql服务器 cmd中登陆mysql
- redis缓存 redis缓冲常用命令
- mysql中删除记录的命令 mysql删除中继日志
- redis linux安装包 linux下redis包
- redis map底层实现 redis多个map命令
- mysql 授权命令 mysql限制授权
- mongodb常用命令 mongodb句柄数
- redis命令查看版本 怎样查看redis版本
- 查看redis所有数据 redis查看数据的命令
- redis重新加载配置 redis重新命令
