excel to matlab dates

Hello,
I import an excel into matlab with importfile. The date in excel is 30/04/2017 but when I convert the excel date to matlab format with x2mdate function i get wrong result 08/10/1935. How can I fix this?
Thanks

4 件のコメント

Andrei Bobrov
Andrei Bobrov 2017 年 5 月 4 日
Please attach your xls - file
Santhana Raj
Santhana Raj 2017 年 5 月 4 日
have u tried x2mdate(ExDates, 1,'datetime') ??
Vanessa
Vanessa 2017 年 5 月 4 日
I tried it and i get the same error
Vanessa
Vanessa 2017 年 5 月 4 日
Actually I get 9/10/1939

サインインしてコメントする。

回答 (0 件)

カテゴリ

質問済み:

2017 年 5 月 4 日

コメント済み:

2017 年 5 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by