I wnat to import date in excel file.

조회 수: 1 (최근 30일)
Jeong_evolution
Jeong_evolution 2016년 7월 1일
댓글: Jeong_evolution 2016년 10월 29일
Hello.
I have a problem imported excel file.
When I import excel data, Others is imported in MATLAB.
But Date & Time isn't imported in MATLAB.
1.JPG is raw data.
2.JPG is picture after importing.
I want to insert Date & Time on 1c olumn in 2.JPG
And also insert Date,Time, 1.풍향, 2.풍속 .... on 1 row.
What should I do?
Plus, When I export 2.JPG, also want to export Date & TIme and so on. (in 1row, 1column)
Please help me.

채택된 답변

Walter Roberson
Walter Roberson 2016년 7월 1일
I recommend that you use readtable() if you have R2014b or later, as it can will convert excel dates into datetime objects during the importing.

추가 답변 (1개)

Tien Tran
Tien Tran 2016년 7월 1일
You can use a syntax:
[num txt raw] = xlsread('yourexceldocument.xls')

카테고리

Help CenterFile Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by