Import multiple ftext files in MATLAB_ Names of files are dates
显示 更早的评论
Hello all,
I have a folder with different back up measurements (Wind, Tide height,...)in different files from 31/12/2009 till 31/12/2010 in .txt format. The file names are in a date format that matlab cannot recognize. For example the TIDE Height file for 31/12/2009 is '091231_000000_22168_TIDE_HEIGHT.txt' and the TIDE Height file for 31/12/2010 is named ' 101231_000000_22168_TIDE_HEIGHT.txt' and so on.
I want to create a loop in MATLAB to scan the files of this folder and only read the files of TIDE Height measurements. Then combine them in one matrix (1439,365) because I have measurements every minute of every day and every day of the year.
Thank you for your much appreciated help.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!