HOW to import data to MATLAB

9 次查看(过去 30 天)
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", and save my data ( temperature) to file in my computer.
my sincerely

采纳的回答

Thomas
Thomas 2012-11-12
try this
syt=urlread('http://weather.yahoo.com/austria/vienna/vienna-551801/');
startvalue=strfind(syt,'day-temp-current temp-f');
temperature=syt(startvalue+26:startvalue+27)
  5 个评论
Jan
Jan 2012-11-14
You are welcome, sese. Please show what you have tried so far to get the Humidity and explain, which problems occurred. It should be possible to modify Thomas' example.
Rainaire Hansford
Excuse me guys but I try to use this code and i didnt get any values. Also the website doesn't seem to work. Can this work on google weather?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by