Does the MATLAB Package Manager support proxy servers?
38 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2024-6-14
回答: MathWorks Support Team
2024-6-14
Does the MATLAB Package Manager (MPM) support downloading product files for MathWorks products through a proxy?
采纳的回答
MathWorks Support Team
2024-6-14
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Web Services 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!