I have a cell array. I want to write each element of the cell into a .csv file and also specifically name the file along the way.
This is my attempt:
for i=1:length(somecell)
doublecell{i}=double(somecell{i});
end
for j=1:length(doublecell)
z=doublecell{j};
csvwrite('matrix_%i.csv',z,j)
end
I hope what I'm attempting to do is clear even though it's wrong.