Using dir with a url
3 ビュー (過去 30 日間)
古いコメントを表示
J Travis Hunsucker
2018 年 10 月 15 日
コメント済み: Walter Roberson
2018 年 10 月 16 日
Hello all, I am trying to list the contents in a folder using a url. I would like to see all the files in a specified url directory. See below for an example file:
url='http://test.opendap.org/dap/data/nc/'; dir(url)
I keep getting an error for no matches. Any help is greatly appreciated. Thank you.
0 件のコメント
採用された回答
Walter Roberson
2018 年 10 月 15 日
dir() does not respect url, and considers them just to be paths to hand to the file system.
2 件のコメント
Walter Roberson
2018 年 10 月 16 日
urlread and parse the results, or possibly use something from text analytics toolbox.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で File Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!