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 ExchangeImages についてさらに検索

タグ

質問済み:

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