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 Ansichten (letzte 30 Tage)
[Error using fileread (line 23)
Could not open file /home/draadel/.matlab/R2021a/thisMatlab.pem. Permission denied.

Antworten (1)

Sudhakar Kumar
Sudhakar Kumar am 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 Kommentare
Satyesh Awasthi
Satyesh Awasthi am 29 Mär. 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 am 29 Mär. 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by