在Linux下安装matlab时,按照教程完成安装并激活matlab软件,但是在重新打开matlab软件时,出现如下的错误:
Make sure the HostID of the license file matches this machine, and that the HostID on the server.Licensing error: -8,523.
需要将挂载文件夹下的(matlabISO)中的文件libmwservices.so,目录为/home/yang/Linux-matlab/Crack/R2016b/bin/glnxa64/libmwservices.so,复制到安装文件bin/glnxa64下,目录为 /usr/local/MATLAB/R2016b/bin/glnxa64
由于usr文件夹下的权限,(不是所有者,不能更改权限),在终端中输入复制粘贴命令便可,测试有效,终端命令如下:
sudo cp -r /home/yang/Linux-matlab/Crack/R2016b/bin/glnxa64/libmwservices.so /usr/local/MATLAB/R2016b/bin/glnxa64