how to export datetime time series to excel

23 views (last 30 days)
navan
navan on 25 Feb 2017
Answered: dpb on 26 Feb 2017
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.

Answers (1)

dpb
dpb on 26 Feb 2017
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!