Where did Matlab store temporary installation files

Hello, I have just installed Matlab 2019a on my Macbook Air with MacOS Sierra 10.12.1. I installed the software using internet connection mode. It seems that Matlab downloaded a lurge chunk of temporary installation files and saved them somewhere insider my hard drive. I tried to use Unix command "locate mathworks" in Terminal, but I found nothing.
I would like to delete these temporary installation files to free some spaces in my hard drive. Is it possible to do that?
Where did Matlab store those temporary files?
Thank you!

Answers (1)

2 Comments

Hi, I executed cd /tmp and I could not find any tmwXXXXXXXXXXXXX folder. I used Matlab 2019a, not 2018b mentioned in the link. Attached below is a screencapture of my terminal.
The temporary files are deleted once the installation is done. If you want to store temporary files to some other location where there is sufficient space for temporary files, you can use “-tmpdir” flag to specify the path to that particular folder. Note that temporary files will still be deleted if you change the default location. It is just to provide enough space for installation process. To use –tmpdir to change the path, refer this link:

Sign in to comment.

Categories

Asked:

on 18 Jun 2020

Commented:

on 19 Jun 2020

Community Treasure Hunt

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

Start Hunting!