how to getting data from URL
18 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
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.
Réponse acceptée
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
Plus de réponses (0)
Voir également
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!