MATLAB: How to set the proxy server settings in the Installer or Activation client for R2019b and older

MATLAB

I have a proxy server that I use to connect to the Internet. I would like to input those settings into the MATLAB installer so that I can connect to the Internet through the Installer.

Best Answer

Depending upon your operating system, the instructions for inputting the proxy server settings will differ. See the instructions below for your operating system:
For R2010b and higher, you can use the "Advanced Options" on the first installation screen (or "Connection Settings" button in the activation client) when prompted to choose between an on-line or off-line installation. You can fill in your proxy server details there. For previous releases, see the information below.
Windows:
To input the proxy server settings through the Installer, click on the "Advanced Options" on the first installation screen when prompted to choose between an on-line or off-line installation. You can fill in your proxy server details there.
Mac OS X:
Proxy settings are only available as an "Advanced Option" in the activation client. You will need to install manually without the Internet. Once installed, you can enter the proxy in the "Advanced Options" of the Activation client.
Unix/Linux:
You can pass the installer a flag which will pass the proxy settings to the installer. To do so, start the installer with the "-proxyurl" flag (ex: install -proxyurl). The syntax is as follows:
./install -proxyurl {protocol}://[user[:password]@]hostname[:port][/path]
Alternatively, you can perform a manual installation and then enter the proxy in the "Advanced Options" in the activation client.
For R2020a and higher please refer to the article below;
Does MATLAB R2020a (and later releases) installer support proxys?