Ineed to save my output image using a filename in one folder? How is it possible?

 채택된 답변

Jan
Jan 2018년 3월 8일
편집: Jan 2018년 3월 8일

1 개 추천

Folder = 'C:\Your\Folder';
File = 'Image.png';
Img = rand(640, 480, 3);
imwrite(Img, fullfile(Folder, File));

댓글 수: 3

sneha madda
sneha madda 2019년 6월 12일
Thank you it helped me.
Kashyap Koshti
Kashyap Koshti 2020년 7월 20일
can it rewrite on same image?
Image Analyst
Image Analyst 2020년 7월 20일
Yes, you can overwrite an existing image.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

질문:

2018년 2월 9일

댓글:

2020년 7월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by