writing data to an excel file

1 view (last 30 days)
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

Accepted Answer

Walter Roberson
Walter Roberson on 28 Dec 2015
xlswrite('gait',{'Mean'},'A1:A1');

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!