www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/DownloadWebContentbySpecifyingCompleteURLExample.m

    %% Download Web Content by Specifying Complete URL  
% Download the HTML for the page on the MATLAB(R) Central File Exchange
% that lists submissions related to |urlread|.   

fullURL = ['http://www.mathworks.com/matlabcentral/fileexchange' ...
	   '?term=urlread'];
str = urlread(fullURL); 

%%
% |urlread| reads from the specified URL and downloads the HTML content
% to the character vector |str|.