Does the MATLAB Package Manager support proxy servers?
36 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 14 Juin 2024
Réponse apportée : MathWorks Support Team
le 14 Juin 2024
Does the MATLAB Package Manager (MPM) support downloading product files for MathWorks products through a proxy?
Réponse acceptée
MathWorks Support Team
le 14 Juin 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?
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Web Services dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!