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
2020-3-29
Use:
websave('filename', 'URL')
1 个评论
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?
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!