How can I open a CSV file from the internet?

12 vues (au cours des 30 derniers jours)
Jaime Haro
Jaime Haro le 27 Avr 2013
Commenté : Chris Nygren le 11 Juil 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

Réponses (1)

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Downloads dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by