How to write a cell array of numbers and string to file

1 view (last 30 days)
What is the easiest way to dump a cell array to a file.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 31 Aug 2011
xlswrite('test.xls',{'abc',1;2,'adsjk'});
  3 Comments
Fangjun Jiang
Fangjun Jiang on 31 Aug 2011
Probably a typo. The limit on the number of characters allowed in a cell when using xlswrite() is 911, not 191.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!