I am batch processing and at the end of each participant's data I am using writematrix to generate an output.
As you will be aware this generates an excel file of the data cutoff in excel with the file called ouputdataFFT.xlsx.
As I run the next participant in the batch this instruction overwrites the first. Now I can add a save line but I was wondering if there was a way of altering the name of the excel file sequentially. Sort for like
for n = 1:10
Now I know this doesn't work but was interested in whether there is a way?