Filter löschen
Filter löschen

Can webread(url) be used to read a file?

3 Ansichten (letzte 30 Tage)
Naor Movshovitz
Naor Movshovitz am 28 Apr. 2015
Kommentiert: Timo Korthals am 7 Sep. 2015
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 Kommentar
Timo Korthals
Timo Korthals am 7 Sep. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by