Locate Installation Log Files
R2026bDuring installation, the installation software (for example, the interactive installer or MATLAB® Package Manager) generates a log file in a temporary folder on your computer. The following sections provide platform-specific instructions for locating the log file. You can use this file to debug installation issues, or provide it to MathWorks® technical support when you create a support case. See contact support.
Windows
To locate your log file on a Windows® computer, paste the text below into the File Explorer search bar, exactly as
shown. Here, %tmp% is an environment variable that specifies the folder
where your system stores temporary files, and %username% is an
environment variable that contains your computer login name. If you paste this text into
Windows PowerShell, replace the variables with $env:TEMP and
$env:USERNAME.
%tmp%\mathworks_%username%.logLinux
To locate your log file on a Linux® computer, paste the text below into a terminal window, exactly as shown.
Here, $TMPDIR is an environment variable that specifies the folder where
your system stores temporary files, and $USER is an environment variable
that contains your computer login name.
$TMPDIR/mathworks_$USER.logWhen you restart a Linux computer, it deletes all files in the temporary folder. To keep the log file
so that you can access it later, save it to a different location. For example, run this
command to copy the log file to a logs folder in your home folder
($HOME).
cp $TMPDIR/mathworks_$USER.log $HOME/logsThe next time you install products, the installation software generates a new log file.
Mac
To locate your log file on a Mac computer, paste the text below into a terminal window, exactly as shown.
Here, $TMPDIR is an environment variable that specifies the folder where
your system stores temporary files, and $USER is an environment variable
that contains your computer login name.
$TMPDIR/mathworks_$USER.logWhen you restart a Mac computer, it deletes all files in the temporary folder. To keep the log file so that you can access it later, save it to a different location.
cp $TMPDIR/mathworks_$USER.log $HOME/DesktopThe next time you install products, the installation software generates a new log file.
Activation, License Manager, and MathWorks Service Host Logs
For more details on obtaining logs for additional installation and licensing processes, including the activation client, license manager, and MathWorks Service Host, see this support article.