error xlsread import dates

1 回表示 (過去 30 日間)
Matteo Pazzaglia
Matteo Pazzaglia 2020 年 4 月 10 日
回答済み: Rajani Mishra 2020 年 4 月 13 日
Hi all,
I have a problem when I import dates from an xls file. It contains a column of dates, one of price, dates, price and so on. If I open the file from the Matlab folder, dates are "dd/MM/yyyy".
[price, dates]=xlsread(filename);
With this command I found a problem in the matrix dates in fact it gives me for example "monday-03-08-2010" instead of the "canonical" format "dd/mm/yyyy" and I don't know why. I've already tried with xlsread(filename, 'mm/dd/yyyy') but without solution. Can someone help me?
Thanks a lot
P.s. Matlab version 2019

採用された回答

Rajani Mishra
Rajani Mishra 2020 年 4 月 13 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Preprocessing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by