how to getting data from URL

18 vues (au cours des 30 derniers jours)
sese
sese le 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 commentaire
Jan
Jan le 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.

Connectez-vous pour commenter.

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Weather and Atmospheric Science dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by