importing data with dates from excel

조회 수: 8 (최근 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 CenterFile Exchange에서 Dates and Time에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by