How do you import time and date data into matlab?

If you have the data in excel in this format:6/13/2013 14:45, how do you import it into Matlab as a string and keep the same format on matlab? Thank you for your help.

 Respuesta aceptada

Shashank Prasanna
Shashank Prasanna el 8 de Jul. de 2013

0 votos

Use importdata or xlsread to pull data in. You can also use the import button on the tool strip if you are using a version of MATLAB > R2012b
You can represent your dates in date number format:

Más respuestas (0)

Categorías

Community Treasure Hunt

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

Start Hunting!

Translated by