- Run the MATLAB installer as an administrator, which may resolve the access issue. You can do this by right-clicking on the installer and selecting 'Run as administrator'.
- Ensure that you have write permissions for the folder where MATLAB is trying to install the toolbox. 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 installation location. For more details, refer to the following documentation link: https://www.mathworks.com/help/install/ug/install-using-a-file-installation-key.html
- https://www.mathworks.com/matlabcentral/answers/2081056-while-installing-add-on-it-gives-you-do-not-have-write-permissions-to-folder-e-basecode-sm-u?s_tid=prof_contriblnk
- https://www.mathworks.com/matlabcentral/answers/270348-how-can-give-an-user-writing-permission-to-a-matlab-folder
- https://www.mathworks.com/matlabcentral/answers/2820-cannot-write-to-this-folder-permission-denied-issue