Does the MATLAB Package Manager support proxy servers?

40 views (last 30 days)

Does the MATLAB Package Manager (MPM) support downloading product files for MathWorks products through a proxy?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 14 Jun 2024
Yes. If your network filters traffic through a proxy server to restrict internet access, you can pass your network’s proxy server information to mpm by using the HTTP_PROXY and HTTPS_PROXY environment variables. For example:
HTTP_PROXY=${HTTP_PROXY} HTTPS_PROXY=${HTTP_PROXY} ./mpm install ...
${HTTP_PROXY} and ${HTTPS_PROXY} are variables containing the URL and port number of your proxy server for HTTP and HTTPS traffic, respectively. For example:
HTTP_PROXY=http://my-proxy-server.example.com:8080
HTTPS_PROXY=https://my-proxy-server.example.com:8080
For more information on modifying environment variables, please see the following support article:
 
How do I set add or change environment variables?

More Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!