MATLAB: Does the installation on OS X fail after the download part with “Permission denied”

MATLAB

I start the installer with sudo on OS X. After the download is finished and the installer changes to "Installing MATLAB", I get an Extract Error:
The following error was detected while installing matlab_doc_en_common:
/var/folders/zz/zyxvoxvqp6csfxvn_n00000000000000/T/zip28188426058791377.tmp (Permission denied)
(The file name and folder name within /var/folders may vary.)
According to the installation log, this happens immediately after the download finishes.

Best Answer

  • This is caused by antivirus software locking onto the .tmp file. As a workaround, temporarily disable your antivirus software and retry the download.