Given the URL of an image, I want to download the image.
    13 views (last 30 days)
  
       Show older comments
    
    Stuart Smith
 on 14 Oct 2022
  
    
    
    
    
    Commented: Stuart Smith
 on 14 Oct 2022
            Given the URL of an image, I want to download the image. Can this be done in Matlab? With webread?
0 Comments
Accepted Answer
  Branden Summa
    
 on 14 Oct 2022
        You should be able to do this using websave
>> imageUrl = 'https://requestserver.mathworks.com/assets/computerVision.jpg';
>> imageName='image.jpg';
>> websave(imageName,imageUrl);
More Answers (0)
See Also
Categories
				Find more on Downloads in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
