如何导入MATLAB数据吗

13个视图(30天)
涩涩
涩涩 2012年11月12日
你好家伙....
我有问题要问你们今天. .所以,如果你准备好了让我们开始吧。
我有这个网站,我想进口温度对于今天在我的城市“维也纳”,并保存我的数据(温度)文件在我的电脑。
我的真诚
1评论
1月
1月 2012年11月14日
请避免双重发帖,因为它浪费的时间自愿帮手。看到 //www.tianjin-qmedu.com/matlabcentral/answers/53476-how-to-getting-data-from-url

登录置评。

接受的答案

托马斯。
托马斯。 2012年11月12日
试试这个
syt = urlread (“http://weather.yahoo.com/austria/vienna/vienna-551801/”);
startvalue = strfind (syt,“day-temp-current temp-f”);
温度= syt (startvalue + 26: startvalue + 27)
5个评论
Rainaire Hansford
Rainaire Hansford 2020年9月8日
对不起伙计们我尝试使用这段代码,没有得到任何值。网站也似乎没有工作。这项工作可以在谷歌天气?

登录置评。

更多的答案(0)

类别

找到更多的在数据导入与分析帮助中心文件交换

社区寻宝

找到宝藏在MATLAB中央,发现社区如何帮助你!

开始狩猎!