importing data with dates from excel

5 ビュー (過去 30 日間)
Robert Booth
Robert Booth 2016 年 8 月 21 日
コメント済み: Azzi Abdelmalek 2016 年 8 月 21 日
How to import data from excel spread sheet and preserve date format and time of day format

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 8 月 21 日
[~,~,data]=xlsread('yourfile')
  1 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2016 年 8 月 21 日
Robert commented
Thank you.Unfortunately does not work. If I use 'import data' facility, the table is imported but under date column the title 'date' is replaced by NaN and the actual dates are converted to [Type:Number,value:nnnnn.0]. However, the other information in the table is imported and tabulated correctly.

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

カテゴリ

Help Center および File ExchangeDates and Time についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by