How to make webread work?

20 次查看(过去 30 天)
YW
YW 2016-11-9
评论: mizuki 2016-11-10
>> 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 个评论
Guillaume
Guillaume 2016-11-9
or a proxy server that behaves badly given the matlab user agent string.
mizuki
mizuki 2016-11-10
or increasing the Timeout
options = weboptions('Timeout', 30);
data = webread(url,options);

请先登录,再进行评论。

回答(0 个)

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by