Why does the date format change in MATLAB using XLSREAD in MATLAB 7.1 (R14SP3)?

1 回表示 (過去 30 日間)
I have created a file in Excel, where one of the columns is a date in 24-hour notation. When I import it into MATLAB, the date is now in an am/pm format.

採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
The ability to import dates in 24-hour format from Excel is not available in MATLAB 7.1 (R14SP3). XLSREAD in MATLAB 7.1 (R14SP3) converts 24-hour date format to am/pm format while reading from Excel to MATLAB.
As a workaround, you can use the DATESTR function to convert the date to any desired date format.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

タグが未入力です。

製品


リリース

R14SP1

Community Treasure Hunt

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

Start Hunting!

Translated by