Azzera filtri
Azzera filtri

How I can use urlread to read a .dat file from a 'real-time' web source

1 visualizzazione (ultimi 30 giorni)
I am trying to use urlread to read the information contained here (raw data updated every hour):
This is weather information which is comma separated. I require it to draw a sun path diagram for a solar project.
I have tried the following prompt:
str = urlread('http://xweb.geos.ed.ac.uk/~weather/jcmb_ws/CR10X1.DAT');
But I get the following error:
??? Error using ==> urlread at 111 Error downloading URL. Your network connection may be down or your proxy settings improperly configured.
I have heard this can be a security issue however the same web page stores past data per month as csv's and those files read fine:
Eventually I would like to store this data as a matrix so that it can be accessed/continually updated with the new weather info.
Thanks in advance.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by