Linux users often see Error 8 when using sudo incorrectly. Never run MATLAB with sudo unless absolutely necessary. If you installed MATLAB using sudo , the license file might be in /root/ instead of your home directory. The fix is to move the license file to ~/MATLAB/licenses/ and change ownership:
In short:
License Manager Error -8 typically indicates a communication or configuration issue between the MATLAB client and the Network License Manager matlab license error 8
: If your computer's date is set to a time before the license was generated, the software may flag it as invalid. Linux users often see Error 8 when using sudo incorrectly