to save the existing file can I use append function?

2 ビュー (過去 30 日間)
Tulips
Tulips 2012 年 10 月 20 日
hi sir,I use append function in matlab to save the existing image that have been save in a folder. however, when I run the program again, the image is overwritten and rewrite with other image.what should I do.thanks! syntax: filename1:strcat('user/matlab/folder',num2str,'.jpg')) imwrite(x,filename1,'writemode','append')
  1 件のコメント
Image Analyst
Image Analyst 2012 年 10 月 20 日
I don't know what this means. Do you want a multi-page tiff image? I've never heard of a multi-page (multi-image) jpeg file. Or do you want to stitch together two images so they make one tall (or wide) array with both images side by side?

サインインしてコメントする。

採用された回答

Jan
Jan 2012 年 10 月 20 日
  1. You cannot append to a JPEG.
  2. You num2str does not have an argument.
  1 件のコメント
Tulips
Tulips 2012 年 10 月 20 日
the x is the argument actually. how to append jpeg file by the way.instead of use sprintf.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImport, Export, and Conversion についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by