MATLAB
I'm trying to save multiple images in file but it save just the frist image of the loop
I tied to use append but it didn't work
the code -> imwrite(output,folderS,'WriteMode','append')
THE FULL CODE:
img1 = imread("try1.pgm");
img2 = imread( "try2.pgm");
folder = "/Users/myname/Documents/MATLAB/TryImg.tif"
folder=fullfile(folder,'img.tif')
imwrite(img1,folder);
imwrite(img2,folder,'WriteMode','append' );