- 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)
- 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’.
- 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.
- 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)
- 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