Can webread(url) be used to read a file?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commento
Timo Korthals
il 7 Set 2015
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.
Risposte (0)
Vedere anche
Categorie
Scopri di più su Data Import and Analysis in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!