Date: Nov 17, 2012 4:51 PM
Author: luma
Subject: How to convert images into text file

Hello,
Please, I want to store 20 images its size 240*320 in the text file .
I run this code,but only one image stored in test file

path ='E:\Matlab\bin\seq1\seq';
for i=100:120
a = imread([path,int2str(i),'.jpg']);
dlmwrite('test.txt', a, 'delimiter', ',');
end
How I can modify this code to store more than one image in test file?