string array to excel

39 次查看(过去 30 天)
TheDice
TheDice 2021-4-26
评论: Stephen23 2021-4-27
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

采纳的回答

Scott MacKenzie
Scott MacKenzie 2021-4-26
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 个评论
TheDice
TheDice 2021-4-27
No it is as simple as it seems. I have tried many other commands but i have not found this one. Thanks for this.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by