I have a variable called vardata which as 101 x 120 matrix. I've made an excel file that I want vardata to be written to each time through a for loop. I've tried to use the command from a previous response to a similar question Excel = actxserver('Excel.Application');
but that is not doing what I want it to because it is creating an Excel workbook, whereas I already have the workbook created in a specified location.
Ultimately, I want to write the variable vardata for each subject to my excel file 'Group 1', where each subject's data is appended immediately following the preceding subject. Any help would be much appreciated.