Cell array into numeric array. Date data type handling.

1 次查看(过去 30 天)
I have an excel file with the collumn A full of dates of this type: 01/01/2017 00:00 for example. When I import it to MATLAB, is imported as a cell array. I need to be able to treat those cell arrays as dates in MATLA abd make conditional operations with them. Can you help in a way I can do so?

采纳的回答

Guillaume
Guillaume 2018-5-10
Use the modern readtable rather than the ancient xlsread. readtable parses dates properly.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by