matlab
stanmarsh
这个作者很懒,什么都没留下…
展开
-
matlab读取sina股市数据
clear all; close all; clc; stock_code=input('请输入股票代码:','s'); %stock_code='sh601006'; str=['http://hq.sinajs.cn/list=',stock_code]; s=urlread(str,'get','','gb2312'); s1=regexp(s,'=','split'); s2=s1{2原创 2013-06-01 16:35:48 · 6462 阅读 · 0 评论 -
MATLAB天气查看
转自 http://www.matlabsky.com/thread-21908-1-1.html %matlab天气查看器 %天气数据来源:http://www.weather.com.cn/ % % copyright?2008-2011 baby_wolf % $10-Dec-2011 02:11:15$ clear all close all ci转载 2012-01-18 21:35:12 · 1206 阅读 · 0 评论 -
MATLAB下载html页面
cd 'C:\Users\Andy\Desktop\178'for idx=1:40;url=['http://www.178448.com/fjzt-1.html?page=',num2str(idx)];filename=[num2str(idx),'.html'];urlwrite(url,filename);pause(1);end原创 2014-10-10 21:47:05 · 2156 阅读 · 0 评论