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 件のコメント

Walter Roberson
Walter Roberson 2019 年 6 月 6 日
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 2019 年 6 月 6 日
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 2019 年 6 月 6 日
Should be R2019a for your purposes

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

製品

質問済み:

2019 年 6 月 6 日

コメント済み:

2019 年 6 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by