fid = fopen('E:\data.txt','w');
for i = 1:n
fprintf(fid,'%d\r\n',code(i));
end
fclose(fid);
load AAA.txt %AAA为文件名
fid = fopen('E:\data.txt','w');
for i = 1:n
fprintf(fid,'%d\r\n',code(i));
end
fclose(fid);
load AAA.txt %AAA为文件名