why do i get the error "[Error using fileread (line 23) Could not open file /home/draa​del/.matla​b/R2021a/t​hisMatlab.​pem. Permission denied."

10 vues (au cours des 30 derniers jours)
[Error using fileread (line 23)
Could not open file /home/draadel/.matlab/R2021a/thisMatlab.pem. Permission denied.

Réponses (1)

Sudhakar Kumar
Sudhakar Kumar le 21 Sep 2021
I understand that you are facing permission issues with MATLAB on your machine.
From the error message, it looks like you have installed MATLAB on a Linux machine. To get rid of the error, you can grant permission for that file specifically or for the /home/draadel/.matlab/R2021a directory. For this, you need to follow the steps below:
  • Open a Terminal by pressing Ctrl + Alt + T on your Linux machine.
  • Execute the follwing command: sudo chmod -R 777 /home/draadel/.matlab/R2021a
For more information, you can refer to a similar MATLAB answer on MATLAB permission error in Linux Ubuntu 18.04
  2 commentaires
Satyesh Awasthi
Satyesh Awasthi le 29 Mar 2022
Thanks a lot @Sudhakar Kumar , it worked for me, It also solved the issue of :
"The desktop configuration was not saved successfully"
Walter Roberson
Walter Roberson le 29 Mar 2022
Note that it is common for pem files to not have read access. They are used to contain security information and making them unreadable without privileges increases their security.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by