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

1 visualización (últimos 30 días)
What is the easiest way to dump a cell array to a file.

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by