Excelから読み取った年月日の情報を区切り位置で分割する方法
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Koki Hashiguchi
il 6 Nov 2019
Commentato: Etsuo Maeda
il 8 Nov 2019
Excelの「区切り位置」機能のように、MATLAB上で年月日を分割することは出来ますでしょうか。
年月日の入ったExcelサンプルファイルと、年月日分割した後のイメージについて添付いたしますのでご教授願います。
![1106問い合わせ.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246920/image.png)
0 Commenti
Risposta accettata
Etsuo Maeda
il 6 Nov 2019
Another Solution:
d = datetime('2019/11/6');
[d.Year, d.Month, d.Day]
HTH
4 Commenti
Più risposte (1)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!