没有对文件夹写入权限

81 views (last 30 days)
强
on 15 Oct 2023
Answered: Shivani on 26 Oct 2023
访问被拒绝
您没有对以下文件夹的写入权限:
D:" --basecode OP --userLoginToken Miwyc3c4OGR5ZHJkaHJ4YzYxdnVsYjhpaHR4dWtxaGtrczV4NXQ1MTRsbzlpdnQwczksUXNBSnI5UTFvUnowVjFONktLdVNCdmRFNWJBTFI2UlZxTFh6N1p0RnJJdEJITWlFQi9SZGJrMzlIKzRvUlNnakRoZEwvL1ZFUlBWanF2WlRlZVlUS3VGczI5WHVNblJOazduLy9hc0lzOGVFcUF4M0VrcGhkVWljaW05MXJLOGtudmlrVld4YndhQUVTekZJQlZmekI5TFJobFRLdktPSlFJWW9MNlFBL3VBPQ== --matlabEntitlementId 8110675 --addonProductEntitlementId 8110675 --trialRequired false --licenseNumber 40967372

Answers (1)

Shivani
Shivani on 26 Oct 2023
Hi @强,
I am assuming that the path present in the error dialogue is a known folder that you’re trying to write output into or trying to install an add-on that writes into that folder.
As mentioned in the prompt, you do not have permissions to write into the folder path mentioned in the error dialogue. Please try out the potential workaround solutions mentioned below:
  1. You can check the permissions to the folder and update permissions to allow your user account to write into the location. Please refer to this MATLAB answer thread for more information on how to check and modify permissions: https://www.mathworks.com/matlabcentral/answers/465517-why-does-the-matlab-update-fail-with-access-denied
  2. Open MATLAB as an administrator and run your command/program again.
  3. If you are running the command from inside the MATLAB directory. Try running the command from a different location, like your home directory.
Additionally, you can refer to these similar MATLAB answer threads for more information regarding this error.
Hope this resolves your issue!

Categories

Find more on 安装和许可简介 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!