Why is my MATLAB R2015b installation 56GB in size?

29 次查看(过去 30 天)
I installed the version of Matlab and Simulink + all of the related packages of the version mentioned in the title on a 64GB Kingston microSD card on my laptop. The installation took forever, and in order to perform it successfully I had to change the default download directory in the installer script to the microSD-card using the cmd-command: "( location of downloaded MATLAB installer on my system drive)" -downloadFolder "Target folder on the SD-card". This is because my laptop system drive is too small to hold all of the 15GB of MATLAB goodness.
What baffles me is that after the installation my SD-card now has about 2GB of free space left. I thought that MATLAB + Simulink were supposed to take only a maximum of 15GB of space with all of the modules installed. Is this not correct? What could be causing this?
I checked for duplicate files using CCleaner, and the program found huge amounts of very small files that had at least 1 copy of them, but in a different directory. To give you an example, there are 2 copies of zlib1.dll in the \bin and \toolbox subfolders respectively. However, this structuring of the files seems intentional.
The program itself seems to run just fine, at a speed comparable to running it on a laptop that actually has an SSD larger than 32GB as a system drive (like mine). Is there anything I could do to reduce the installation size on the SD-card without having to download all of the full software package again? I kind of need the extra space on the SD-card for other uses as well besides storing a buggy installation of MATLAB.
  1 个评论
Alessandro Roux
Alessandro Roux 2015-12-29
Hi Santtu,
KDirStat (Linux), WinDirStat (Windows), and Disk Inventory X (Mac) will quantify disk usage. They list the space occupied by individual files and generate visually-pleasing charts that show memory footprints for each file.
It may be worth using your platform's implementation to see where the additional bulk is coming from on your SD card.
Best,
Alessandro

请先登录,再进行评论。

采纳的回答

Philip Borghesani
编辑:Philip Borghesani 2016-1-4
How is the card formatted? What is the output of chkdsk on the card?
If the card is formatted fat32 or exFAT (default for SDXC) then the minimum file size (cluster size) will be quite large wasting large amounts of space.
  1 个评论
Santtu Söderholm
This was indeed the issue. The installation still took forever, but it is now sitting at roughly 10GB and working as intended. Thanks for taking the time to answer my question.

请先登录,再进行评论。

更多回答(1 个)

Edmund Tay
Edmund Tay 2017-1-11
Hi can I know how should I format my Micro SD card on my surface 3 or the steps needed in order to install it matlab 2016b with minimum size. As the total installation size including file is roughly 40GB. If possible please tell me in layman terms as I'm not good with computers. Thank you :)
  1 个评论
Siddharth Magadum
Siddharth Magadum 2021-1-20
Hi, did you install the MATLAB ? . Did it consumed 40 GB space?
And does the installation requires active internet ?
In my case the 2020b installer shows that it requires 44 Gb of space.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by