MATLAB: Writing data to an excel file

xlswrite

Hi,
I want to write data in to an excel file, and I want the first column (A1) of my excel file to contain the word 'Mean'. I tried this input:
xlswrite('gait','Mean','A1:A1');
If I try this, the first column (A1) only contains the letter M, not the whole word. Anyone who knows how to solve this? Thank you

Best Answer

xlswrite('gait',{'Mean'},'A1:A1');
Related Question