string array to excel
34 views (last 30 days)
Show older comments
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
Accepted Answer
Scott MacKenzie
on 26 Apr 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');
More Answers (0)
See Also
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!