how to export datetime time series to excel

19 次查看(过去 30 天)
I have a datetime time series in matlab. I would like to export it to excel. I tried xlswrite but an error named
"Error using xlswrite (line 165) Input data must be a numeric, cell, or logical array"
How can i resolve it. Please help.

回答(1 个)

dpb
dpb 2017-2-26
doc exceltime
xlswrite('yourfile.xls',exceltime(yourdatetimearray))

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by