Does the MATLAB Package Manager support proxy servers?

38 ビュー (過去 30 日間)
MathWorks Support Team
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
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 件)

カテゴリ

Help Center および File ExchangeWeb Services についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by