How do I set a proxy server to use with the URLREAD and URLWRITE functions in MATLAB as of R2010b?
Afficher commentaires plus anciens
In R2010a as explained in the technical solution:
it was possible to use the following command:
jobj = com.mathworks.mlwidgets.html.HTMLPrefs;
As of R2010b, the same command returns the following error message:
??? No constructor 'com.mathworks.mlwidgets.html.HTMLPrefs' with matching signature found.
Which command do I have to use as of 10b?
Réponse acceptée
Plus de réponses (1)
Stefan
le 23 Mai 2012
If one also want to set the Proxy Authentification, the following lines of code could be helpfull.
if isdeployed
com.mathworks.mlwidgets.html.HTMLPrefs.setUseProxyAuthentication(true) com.mathworks.mlwidgets.html.HTMLPrefs.setProxyUsername('proxyuser') com.mathworks.mlwidgets.html.HTMLPrefs.setProxyPassword('proxypassword')
end
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!