string array to excel

34 visualizaciones (últimos 30 días)
TheDice
TheDice el 26 de Abr. de 2021
Comentada: Stephen23 el 27 de Abr. de 2021
Hello I have an 8x14 string array and would like to export it as an Excel file. Is there a command to do this?
Many greetings
Fabian

Respuesta aceptada

Scott MacKenzie
Scott MacKenzie el 26 de Abr. de 2021
Am I missing something, or is this as simple as it seems:
s = repmat(["a" "bcd"], 8, 7); % 8x14 string matrix
writematrix(s, 'temp.xlsx');
  1 comentario
TheDice
TheDice el 27 de Abr. de 2021
No it is as simple as it seems. I have tried many other commands but i have not found this one. Thanks for this.

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by