How can I open a CSV file from the internet?

11 次查看(过去 30 天)
I need to open a file residing on a website. An example of the file, including location is: "https://www.midwestiso.org/Library/Repository/Market Reports/20130427_da_lmp.csv"
Excel can open it with this line, but I cannot get it done in Matlab. Please note that I do not have an FTP address or access.
Thanks

回答(1 个)

Carlos Jiménez Gallegos
Use:
websave('filename', 'URL')
  1 个评论
Chris Nygren
Chris Nygren 2022-7-11
This requires downloading the full file and saving it to disk. Is there a method to load the csv as a string to a variable for further parsing?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Downloads 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by