MATLAB Answers

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."

2 ビュー (過去 30 日間)
Aadel Alatawi
Aadel Alatawi 2021 年 9 月 16 日
回答済み: Sudhakar Kumar 2021 年 9 月 21 日
[Error using fileread (line 23)
Could not open file /home/draadel/.matlab/R2021a/thisMatlab.pem. Permission denied.

回答 (1 件)

Sudhakar Kumar
Sudhakar Kumar 2021 年 9 月 21 日
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

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by