How can I open a CSV file from the internet?
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Réponses (1)
Carlos Jiménez Gallegos
le 29 Mar 2020
Use:
websave('filename', 'URL')
1 commentaire
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?
Voir également
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!