Search code examples
windowsmatlabmingwmingw-w64

MinGW install on offline Windows for Matlab R2018a


I've seen this post and this other one. The list goes on.

However, I need to install MinGW (preferably the latest version) in a Windows machine which is purposefully isolated from the internet. The purpose is to use soem features of Matlab 2018b that require a compiler. I can upload files to it within some restrictions, but I can neither use the default MinGW installer, nor can I use the "Get Add-On" menu command.

By the way, the machine works with windows server.

How can I get an installer or a set of files that would allow me to install MinGW?


Solution

  • For versions 2016b and newer, MathWorks provides a tool that allows downloading support packages and sending them to off-line environments. The tool can be downloaded here and will require admin permission to install. With it, you can select packages to download at a target folder, and later transfer them to the off-line environment.

    For each package there will be a readme file with the relevant instructions.