print array in an excel file and in two separate columns
5 views (last 30 days)
Show older comments
How can I print this array in an excel file and in two separate columns?
n =
813 4
428 6
314 3
740 5
579 4
0 Comments
Answers (1)
Bish Erbas
on 24 Sep 2018
Try:
xlswrite('test.xlsx',n)
2 Comments
Bish Erbas
on 24 Sep 2018
My answer assumes n is a workspace variable. Make sure you see n as a numerical matrix in the workspace.
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!