필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
P
P 2013년 3월 6일
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.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by