string array to excel
39 次查看(过去 30 天)
显示 更早的评论
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
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');
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!