How can I extract/import data from open weather map server using matlab?

I am supposed to extract weather data from a server. I was given an API key to access the data. when I use the API call http://api.openweathermap.org/data/2.5/forecast/city?id=524901&APPID={APIKEY} as suggested by the server, I get the data on the web. As soon as I want to use this in matlab with the webread function, I get errors such as timeout errors even though I set it to infinite. How can I access this data using matlab?

Réponses (0)

Catégories

En savoir plus sur Weather and Atmospheric Science dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by