how to download a file using matlab ?

32 ビュー (過去 30 日間)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2014 年 6 月 17 日
コメント済み: shaziya akhtar 2020 年 9 月 2 日
I have to download a file present in file exchange. how to download it thro matlab using the command urlread
  1 件のコメント
shaziya akhtar
shaziya akhtar 2020 年 9 月 2 日
Strlen function

サインインしてコメントする。

回答 (1 件)

Sanket Mishra
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);

タグ

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by