MATLAB: Archlinux License Manager Error -9

licenselinuxMATLAB

So I'm running archlinux but I have problems with the matlab verification. When I try starting matlab using "matlab" in the terminal I get:
MATLAB is selecting SOFTWARE OPENGL rendering.
License checkout failed.
License Manager Error -9
This error may occur when:
-The hostid of this computer does not match the hostid in the license file.
-A Designated Computer installation is in use by another user.
If no other user is currently running MATLAB, you may need to activate.
Troubleshoot this issue by visiting:
http://www.mathworks.com/support/lme/R2017b/9
Diagnostic Information:
Feature: MATLAB
License path: /home/simon/.matlab/R2017b_licenses/license_asusimon_919019_R2017b.lic:/usr/local/MATLAB/R2017b/lice
nses/license.dat:/usr/local/MATLAB/R2017b/licenses/license_asusimon_919019_R2017b.lic
Licensing error: -9,57.
I've tried running /usr/local/MATLAB/R20XXx/bin/activate_matlab.sh but this didn't help. Matlab worked for a brief period of time.

Best Answer

Contact Mathworks for free installation support, even on Student licenses.
Last night someone was reporting a problem with a Linux system, that every time they ran they were getting a different hostid reported, and that was leading to problems. Potentially you are running into the same problem.
Related Question