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.

 採用された回答

Shashank Prasanna
Shashank Prasanna 2013 年 7 月 8 日

0 投票

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:

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by