Excelから読み取った年月日の情報を区切り位置で分割する方法
5 ビュー (過去 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 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!