How to make webread work?

>> webread('https://www.mathworks.com')
Error using webread (line 119)
The connection to URL 'https://www.mathworks.com' timed out after 5 seconds.
Set options.Timeout to a higher value.

3 Commenti

Works from my system. Perhaps you have a firewall active?
Guillaume
Guillaume il 9 Nov 2016
or a proxy server that behaves badly given the matlab user agent string.
or increasing the Timeout
options = weboptions('Timeout', 30);
data = webread(url,options);

Accedi per commentare.

Risposte (0)

Categorie

Prodotti

Tag

Richiesto:

YW
il 9 Nov 2016

Commentato:

il 10 Nov 2016

Community Treasure Hunt

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

Start Hunting!

Translated by