writing data to an excel file

1 次查看(过去 30 天)
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

采纳的回答

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

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by