红联Linux门户
Linux帮助

Linux安装matlab,激活完毕后从终端启动时出现错误

发布时间:2016-04-13 10:52:49来源:linux网站作者:linux人

错误信息:

License checkout failed.
License Manager Error -8
Make sure the HostID of the license file matches this machine, and that the HostID on the SERVER
line matches the HostID of the license file.

Troubleshoot this issue by visiting:
http://www.mathworks.com/support/lme/R2014b/8

Diagnostic Information:
Feature: MATLAB
License path: /home/wangxiao/.matlab/R2014b_licenses:/usr/local/MATLAB/R2014b/licenses/license.dat:/usr/local/MATL
AB/R2014b/licenses/license_wangxiao-System-Product-Name_406917_R2014b.lic:/usr/local/MATLAB/R2014b/l
icenses/network.lic
Licensing error: -8,523.


解决方案为:

Linux Copy/overwrite libmwservices.so ( from the linux folder provided ) to : /usr/local/MATLAB/R2014A/bin/glnxa64..

然而在复制的时候,提示我没有权限阿,查看文件夹属性,发现:you are not the owner, you don't have the access ....

shit 。。。

只好用终端命令了,sudo  cp xxx /libmwservices.so  /usr/local/MATLAB/R2014A/bin/glnxa64

即可。


那么如何设置 从终端启动 matlab 呢?

sudo ln -s /usr/local/Matlab/bin/matlab(你的安装位置)  /usr/bin/


打开的过程中报错:

Linux安装matlab,激活完毕后从终端启动时出现错误

直接输入:

>> rehash toolboxcache

然后关掉终端,重新打开matlab,就可以进来了。


本文永久更新地址:http://www.linuxdiyf.com/linux/19739.html