How to download image files on MatlabR2020a
49 次查看(过去 30 天)
显示 更早的评论
I am learning images. The Assignment asks to download file like 'rose.jpg', 'time.jpg' and 'speed.jpg' etc. type of files, and then check its various cropped formats. However, I am not able to download/upload such files on my desktop, that means I don't even find such files? Why I am facing this issue? Can someone guide and assist?
Thank you in anticipation.
10 个评论
Walter Roberson
2020-5-11
The course was created in 2011 to 2012. It used images that do not appear to have ever been part of MATLAB. It is not clear whether the images are still available anywhere.
In my opinion, no-one should be giving out assignments based upon beta material from 2012.
回答(3 个)
Dr. Alka Tomar
2020-5-12
1 个评论
Walter Roberson
2020-5-12
Ask the other students where they found the files.
I checked back to R2010bsp1 but could not find the files you name: they do not appear to have ever been part of MATLAB, in any of the toolboxes I have access to (which is a fair number.)
Walter Roberson
2020-5-12
编辑:Walter Roberson
2020-5-12
There is no MATLAB function that can permit you to download arbitrary images when you do not know of a location for the image.
In the case where you know the location of the image:
Since R2006b or so, urlwrite() has been able to download from URL and save to disk.
Since R2013a and possibly earlier, imread() has been able to read images from URL into memory (and you could then imwrite())
Since R2014b, websave() has been able to download from URL and save to disk.
If you are using MATLAB Online, then you can also use MATLAB Drive https://www.mathworks.com/products/matlab-drive.html to transfer files you have downloaded to your desktop, over to MATLAB Online.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!