how to getting data from URL

18 views (last 30 days)
sese
sese on 12 Nov 2012
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 Comment
Jan
Jan on 14 Nov 2012
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.

Sign in to comment.

Accepted Answer

C.J. Harris
C.J. Harris on 14 Nov 2012
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 Comment
Rainaire Hansford
Rainaire Hansford on 8 Sep 2020
So how do you display the data from this website or other websites?

Sign in to comment.

More Answers (0)

Categories

Find more on Weather and Atmospheric Science in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!