how to download a file using matlab ?
조회 수: 3 (최근 30일)
이전 댓글 표시
I have to download a file present in file exchange. how to download it thro matlab using the command urlread
답변 (1개)
Sanket Mishra
2014년 7월 7일
“urlread” function returns the contents of a URL in the form of a string : >> filex = 'http://www.mathworks.com/matlabcentral/fileexchange/'; >> fullList = urlread(filex);
You can also provide other options with “urlread” such as if you want to retrieve files from file exchange with in past 7 days that contains the word MATLAB as shown below:
>> filex = sprintf('%s%s',... 'http://www.mathworks.com/matlabcentral/fileexchange/',... '?duration=7&term=MATLAB'); >> recent = urlread(filex);
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Downloads에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!