Excelから読み取った年月日の情報を区切り位置で分割する方法
조회 수: 3 (최근 30일)
이전 댓글 표시
Excelの「区切り位置」機能のように、MATLAB上で年月日を分割することは出来ますでしょうか。
年月日の入ったExcelサンプルファイルと、年月日分割した後のイメージについて添付いたしますのでご教授願います。
댓글 수: 0
채택된 답변
Etsuo Maeda
2019년 11월 6일
Another Solution:
d = datetime('2019/11/6');
[d.Year, d.Month, d.Day]
HTH
댓글 수: 4
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!