print array in an excel file and in two separate columns
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Bish Erbas
2018-9-24
Try:
xlswrite('test.xlsx',n)
2 个评论
Bish Erbas
2018-9-24
My answer assumes n is a workspace variable. Make sure you see n as a numerical matrix in the workspace.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!