Cannot write to preference file "matlab.prf"

I installed MATLAB on ubuntu in some othe folder than the root folder, and successfully installed it with "sudo apt install matlab-support".
However on opening i receive a long list of errors stating a lot of MATLAB shortcut files could not write to "matlab.prf".
Thank you in advance for the solutions.
Screenshot from 2019-06-06 14-00-15.png

3 Commenti

Does that directory exist? Are you the owner? Does the directory have x permission for your account? Does the file exist? Are you the owner? Do you have w permission for your account for it?
Yes , I am the owner and the directory exists ,
Found the solution on
Executed this command on the terminal
sudo chown -R $USER /home/$USER/.matlab/R2018b/
Should be R2019a for your purposes

Accedi per commentare.

Risposte (0)

Categorie

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by