Rewrites of urlread and urlwrite

버전 1.0.0.0 (5.06 KB) 작성자: Fu-Sung Wang
Adding TIMEOUT to both url functions.
다운로드 수: 2.4K
업데이트 날짜: 2005/9/15

라이선스 없음

Two days ago, on MATLAB Newsgroup, I found Greggory asking something about "urlread" which is lack of TIMEOUT capability. And such a deficiency often leads to an embarrassing and horriable situation that main function gets freezed easily when the network is busy or abnormal.

At the beginning, I tried to follow the asker by using a timer, but it failed finally. The reason I thought is that timer can not interrupt the
task being busy at all and yet MATLAB doesn't have a scheme for using multi-threads so far. Fortunately, I discovered another hope that a part of urlread is written in JAVA. So I tried to modify the urlread function by adding a "timeout" parameter, enabling it to automatically stop the request at a time the user specified.

인용 양식

Fu-Sung Wang (2025). Rewrites of urlread and urlwrite (https://kr.mathworks.com/matlabcentral/fileexchange/8474-rewrites-of-urlread-and-urlwrite), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R14SP2
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Web Services에 대해 자세히 알아보기
도움

도움 준 파일: urlread2

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

It isn't optimised, so let me know if there is any bug.