www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/DownloadWebContentRelatedtoaTermForUrlWriteExample.m
%% Download Web Content Related to Term % Download the HTML for the page on the MATLAB(R) Central File Exchange % that lists submissions related to |urlwrite|. Save the results to |samples.html| % in the current folder. URL = 'http://www.mathworks.com/matlabcentral/fileexchange'; filename = 'samples.html'; urlwrite(URL,filename,'get',{'term','urlwrite'}); %% % |urlwrite| downloads the HTML content from http://www.mathworks.com/matlabcentral/fileexchange/?term=urlwrite % and writes it to |samples.html|.