error in websave function
이전 댓글 표시
Hello I am getting error at websave function
댓글 수: 2
Walter Roberson
2016년 6월 4일
Please post the entire text of the error message, everything in red.
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?
카테고리
도움말 센터 및 File Exchange에서 Web Services에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!