How to export date from an array to excel file?
显示 更早的评论
I have a time series matrix that contains date and observations for different categories. Now I am using xlswrite option to export these to an excel file but the date column of the matrix is converted into the number when finally exported. Can anyone please tell me how to overcome this problem so that I can get the same matrix in my excel file also?
回答(1 个)
Azzi Abdelmalek
2012-11-30
s=cellstr(date)
save('file.xls',s)
类别
在 帮助中心 和 File Exchange 中查找有关 Spreadsheets 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!