When using the import tool to import data from an excel file, how do I convert the spreadsheet dates to datenumbers?
조회 수: 5 (최근 30일)
이전 댓글 표시
채택된 답변
Umakant
2014년 9월 29일
To convert dates from spreadsheets to Date Number add a new rule for converting dates to Date Number. To add this rule:
1) Select “Convert” from drop down list in middle of the import window then Spreadsheets dates to->datenum from next dropdown lists.
2) Click “Import Selection” button this will import the selected data to the workspace in Date Numbers.
Please refer to following link for information on importing spreadsheet data:
추가 답변 (2개)
Joseph Cheng
2014년 9월 29일
편집: Joseph Cheng
2014년 9월 29일
you'll have to have the rules for the "unimportable Cells" portion to have:
- Convert Spreadsheet dates to datenum
- exclude rows with unimportable cells
댓글 수: 0
Sean de Wolski
2014년 9월 29일
You could also click the drop down arrow next to the column and select date as the option:
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!