How to download image files on MatlabR2020a

조회 수: 51 (최근 30일)
Dr. Alka Tomar
Dr. Alka Tomar 2020년 5월 11일
댓글: Walter Roberson 2020년 5월 13일
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
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.
Dr. Alka Tomar
Dr. Alka Tomar 2020년 5월 12일
Thank you for the replies.

댓글을 달려면 로그인하십시오.

답변 (3개)

Dr. Alka Tomar
Dr. Alka Tomar 2020년 5월 12일
But, other participants in the course can do this. Like this participant, she is downloading array, but can not see image, as she writes as under;
"how to i dispay the image in matlab?
discussion posted 17 days ago by uchristina12
when am typing im = imread(rose.jpg) a list of numbers is displaying not the image , I need help on how to put the image in matlab"
--- That means we have some issues with us, and not the course.
I have no way to reach the creators, or else I would have asked them there instead of here.
Don't know how to solve this. As rest of the chapters are dependent on this basic function. I am not able to proceed ahead into the course. If anyone can understand what is this all about?
  댓글 수: 1
Walter Roberson
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
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.

Dr. Alka Tomar
Dr. Alka Tomar 2020년 5월 12일
Thanks for the reply. I am constantly posting on their site as well, noone is replying. Hence I came here.
Anyway, you are right, else it would work.
Only I dont know how to then proceed ahead in that course.
Thank you very much again.

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by