- Open a Terminal by pressing Ctrl + Alt + T on your Linux machine.
- Execute the follwing command: sudo chmod -R 777 /home/draadel/.matlab/R2021a
why do i get the error "[Error using fileread (line 23) Could not open file /home/draadel/.matlab/R2021a/thisMatlab.pem. Permission denied."
10 views (last 30 days)
Show older comments
[Error using fileread (line 23)
Could not open file /home/draadel/.matlab/R2021a/thisMatlab.pem. Permission denied.
0 Comments
Answers (1)
Sudhakar Kumar
on 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:
For more information, you can refer to a similar MATLAB answer on MATLAB permission error in Linux Ubuntu 18.04
2 Comments
Satyesh Awasthi
on 29 Mar 2022
"The desktop configuration was not saved successfully"
Walter Roberson
on 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.
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!