how to download a file using matlab ?

4 visualizaciones (últimos 30 días)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran el 17 de Jun. de 2014
Comentada: shaziya akhtar el 2 de Sept. de 2020
I have to download a file present in file exchange. how to download it thro matlab using the command urlread

Respuestas (1)

Sanket Mishra
Sanket Mishra el 7 de Jul. de 2014
“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);

Categorías

Más información sobre Downloads en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by