error in websave function
15 次查看(过去 30 天)
显示 更早的评论
Hello I am getting error at websave function
2 个评论
Mites Rajan
2018-6-6
编辑:Walter Roberson
2018-6-9
Error using websave (line 98)
The connection to URL 'https://www.cs.toronto.edu/~kriz/cifar-10-matlab.tar.gz' timed out after 5
seconds. Set options.Timeout to a higher value.
Error in DownloadCIFAR10 (line 13)
websave([cifar10Dataset,'.tar.gz'],...
回答(1 个)
Cris LaPierre
2018-11-23
I'd suggest doing what it suggests - increase the timeout to a higher value. I just ran this on my computer and was able to save the file, thought it took ~30 seconds.
websave('data.tar.gz','https://www.cs.toronto.edu/~kriz/cifar-10-matlab.tar.gz')
Interestingly, when I checked, my timeout was also set to 5 but was able to download just fine. Do you have a firewall that is perhaps blocking you from accessing this?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Web Services 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!