How can I open a CSV file from the internet?

14 views (last 30 days)
Jaime Haro
Jaime Haro on 27 Apr 2013
Commented: Chris Nygren on 11 Jul 2022
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

Answers (1)

Carlos Jiménez Gallegos
Carlos Jiménez Gallegos on 29 Mar 2020
Use:
websave('filename', 'URL')
  1 Comment
Chris Nygren
Chris Nygren on 11 Jul 2022
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?

Sign in to comment.

Categories

Find more on Downloads in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!