Does the MATLAB Package Manager support proxy servers?

38 次查看(过去 30 天)

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

采纳的回答

MathWorks Support Team
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?

更多回答(0 个)

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by