to save the existing file can I use append function?

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Import, Export, and Conversion 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by