File Exchange

image thumbnail


version (9.81 KB) by Jaroslaw Tuszynski
Reads the content at a URL and writes it into a binary file.


Updated 23 Feb 2016

View License

Function very similar to urlread, except it can be used to download images and other binary files and save them to files. Input parameters are the same as for urlread.

Cite As

Jaroslaw Tuszynski (2021). urldownload (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Emmanuel Farhi

This is an excellent submission, which in all in one file. The default urlread returns before the end of the stream when reading a binary data.

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!