没有对文件夹写入权限

25 vues (au cours des 30 derniers jours)
强
le 15 Oct 2023
Commenté : 通达 le 11 Nov 2025
访问被拒绝
您没有对以下文件夹的写入权限:
D:" --basecode OP --userLoginToken Miwyc3c4OGR5ZHJkaHJ4YzYxdnVsYjhpaHR4dWtxaGtrczV4NXQ1MTRsbzlpdnQwczksUXNBSnI5UTFvUnowVjFONktLdVNCdmRFNWJBTFI2UlZxTFh6N1p0RnJJdEJITWlFQi9SZGJrMzlIKzRvUlNnakRoZEwvL1ZFUlBWanF2WlRlZVlUS3VGczI5WHVNblJOazduLy9hc0lzOGVFcUF4M0VrcGhkVWljaW05MXJLOGtudmlrVld4YndhQUVTekZJQlZmekI5TFJobFRLdktPSlFJWW9MNlFBL3VBPQ== --matlabEntitlementId 8110675 --addonProductEntitlementId 8110675 --trialRequired false --licenseNumber 40967372

Réponses (1)

Shivani
Shivani le 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!
  2 commentaires
Jason
Jason le 7 Déc 2024
Which folder should I modify permissions for?
通达
通达 le 11 Nov 2025
i have met this problem too, actually i try your acommendation and notice that it's useless

Connectez-vous pour commenter.

Catégories

En savoir plus sur 启动和关闭 dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!