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 commentaires

Walter Roberson
Walter Roberson le 6 Juin 2019
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?
Param Deshpande
Param Deshpande le 6 Juin 2019
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/
Walter Roberson
Walter Roberson le 6 Juin 2019
Should be R2019a for your purposes

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by