MATLAB Answers

How to make webread work?

92 views (last 30 days)
YW
YW on 9 Nov 2016
Commented: mizuki on 10 Nov 2016
>> 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 Comments

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

Sign in to comment.

Answers (0)

Sign in to answer this question.

Tags

Products