Can webread(url) be used to read a file?
조회 수: 2 (최근 30일)
이전 댓글 표시
url = 'file:///c:/filename';
raw = webread(url);
fails complaining that the <file://> protocol is not supported. Can it be true? Why wouldn't it be supported? I know the url is correct because
raw = urlread(url);
works as expected (but returns an unwieldy string).
댓글 수: 1
Timo Korthals
2015년 9월 7일
Have you dug into the function? At one point the webread function just downloads the content and pass it to the function readContentFromFile(...). Maybe you can just work with this.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!