I am using Ubuntu 14.04 LTS on 64-bits. I am tryint to install Matlab R2014b. I followed these steps, based on this tutorial:
- Mounted the .iso file
cd /media/username/MATHWORKS_R2014B
sudo ./install (installed in /usr/local/MATLAB/R2014b)
sudo apt-get install matlab-support
cd ~ sudo chown username -R ~/.matlab
During step 4 the window which required activation appeared several times and when I had to give the usrrname the default was always root and I never changed that, but when I try to run it, the activation window appears again but this time with username instead of root and it gives me the following error:
Could not complete Activation because the License File could not be written to disk. You might not have write permission on the License File or the folder. /home/username/.matlab/R2014b_licenses/license_username_836966_R2014b.lic See your System Administrator for assistance. The specific error message text is: /home/username/.matlab/R2014b_licenses/license_username_836966_R2014b.lic (No such file or directory).
I googled this error and after some results I performed the following steps:
cd /usr/local/MATLAB/R2014b/bin/glnxa64
sudo ./activate_matlab.sh
sudo mkdir -p /usr/local/MATLAB/R2014b/licenses
sudo chmod a+rw /usr/local/MATLAB/R2014b/licenses
But still the same thing happens. And the problem is that in the ./matlab
folder I don't have the license file they are asking me for. And when I try to download it from the MathWorks account I can only save it as licence.lic
which is different than the name they are asking me for and which cannot be saved in the /usr/local/MATLAB/R20194b
folder.
How can I solve this problem?