how to getting data from URL

조회 수: 18 (최근 30일)
sese
sese 2012년 11월 12일
댓글: Rainaire Hansford 2020년 9월 8일
Hello Guys ....
I have question for you guys today.. so if you ready let's begin.
i have this website and i want to import the temperature for today in my city which is "VIENNA".
yahoo weather link for my city is listed below
my sincerely
  댓글 수: 1
Jan
Jan 2012년 11월 14일
Please avoid double posting, because it wastes the time of the voluntary helpers. See http://www.mathworks.com/matlabcentral/answers/53507-how-to-import-data-to-matlab.

댓글을 달려면 로그인하십시오.

채택된 답변

C.J. Harris
C.J. Harris 2012년 11월 14일
weatherData = urlread('http://weather.yahooapis.com/forecastrss?w=551801&u=c');
You will however have to parse the RSS feed yourself to extract the necessary data. The format is described on the yahoo website:
  댓글 수: 1
Rainaire Hansford
Rainaire Hansford 2020년 9월 8일
So how do you display the data from this website or other websites?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Weather and Atmospheric Science에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by