问题
在Ubuntu 16.04 系统上,需要给 matlab 安装一个 image processing toolbox. 但是安装过程中遇到以下问题:
“Unable to write to /usr/local/MATLAB/R2016b. Please select a different folder”
当我尝试用root权限去运行matlab时:
sudo matlab
又遇到以下问题:
License checkout failed.
License Manager Error -9
Your username does not match the username in the license file.
To run MATLAB on this computer, you must run the Activation client to reactivate your license.
Troubleshoot this issue by visiting:
http://www.mathworks.com/support/lme/R2016b/9
Diagnostic Information:
Feature: MATLAB
License path: /home/pjhellemn/.matlab/R2016b_licenses:/usr/local/MATLAB/R2016b/licenses/license.dat:/usr/local/MAT
LAB/R2016b/licenses/license_pjhellemn-Lenovo-ideapad-Y700-14ISK_3284817_R2016b.lic
Licensing error: -9,57.
后来通过调查找到了以下解决途径,完美解决了这个问题:
原问题: