how to getting data from URL

17 visualizaciones (últimos 30 días)
sese
sese el 12 de Nov. de 2012
Comentada: Rainaire Hansford el 8 de Sept. de 2020
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 comentario
Jan
Jan el 14 de Nov. de 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.

Iniciar sesión para comentar.

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Weather and Atmospheric Science en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by