while installing add-on, it gives You do not have write permissions to folder: E:" --basecode SM --userLoginToken, what do i do?

224 views (last 30 days)
I already have matlab 2023a version and while installing additional tool box I am getting following error while installing
How to overcome this please help and the error is as follows
You do not have write permissions to folder:
E:" --basecode SM --userLoginToken Miw1eWUyMGVlczg3bzd0ZWdqMjdyMXFqMm1xZDB2YWNweDI2Ymo4a2Z3NTU5YWMzOG0sSWNWVDRoaDJ4UTljQTZ2QU5QcG9QNkRhWUFBdjFKQU02UXgxeEx3TkxjbHk3aW5aVWpma2NhUFlWVjdCalFNanRJYS9mRUhpMHU1amtRelhtaWs1QzByVmlsVUwyVHFpcWllLzliRUowSXVEZzhyKzh0VER1VE1QU1JBZzduVytVOE1WTUllVlRsY3Znb29rTExJSzl0Snl3Tmh4T0M3bnFBcFpuZThuOTlJPQ== --matlabEntitlementId 8934116 --addonProductEntitlementId 8934116 --trialRequired false --licenseNumber 41011041

Answers (1)

Manikanta Aditya
Manikanta Aditya on 26 Feb 2024
Hi Singam,
Looks like the error message you're seeing is indicating that you do not have write permissions to the specified folder. This is a common issue that can occur if the user account you're using doesnt have the necessary permissions to write to the directory where MATLAB is trying to install the toolbox.
Here are some steps you can follow to resolve this issue:
  1. Check the following MATLAB Answer post to know about the 'Something Unexpected Occurred when installing MathWorks Products': (https://www.mathworks.com/matlabcentral/answers/489806-why-do-i-see-the-error-something-unexpected-occurred-when-installing-mathworks-products#:~:text=This%20error%20may%20be%20caused,reattempt%20the%20installation%20once%20more)
  2. Run as Administrator: If you’re on a Windows system, try running the MATLAB installer as an administrator. You can do this by right-clicking on the installer and selecting ‘Run as administrator’.
  3. Check Folder Permissions: Ensure that you have write permissions for the folder where MATLAB is trying to install the toolbox. You can check this by right-clicking on the folder, selecting ‘Properties’, and then navigating to the ‘Security’ tab. If you do not have write permissions, you will need to modify the permissions or choose a different install location.
  4. Choose a Different Install Location: If you’re unable to modify the folder permissions, you could try installing the toolbox to a different location where you do have write permissions. (https://www.mathworks.com/help/install/ug/install-using-a-file-installation-key.html)
Check the following MATLAB Answers to know more about the issue:
I hope this helps.
  2 Comments
Manikanta Aditya
Manikanta Aditya on 8 Apr 2024
Then you can try these:
  • Try running MATLAB as an administrator, even if you already have admin rights. Right-click on the MATLAB application and select "Run as administrator".
  • Restart your computer and try the installation again. Sometimes temporary files or processes can cause permission issues that are resolved by a restart.
  • Check if your antivirus or firewall software is blocking MATLAB from writing to the folder. Try temporarily disabling them and attempt the installation again.
  • Clear cache

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!