how to load multiple asc files from a directory
4 次查看(过去 30 天)
显示 更早的评论
So i know that i should import my files using
A=readtable('file1.asc','Filetype','text');
however i want to be able to import all of the files trough a loop because there are more than 300, and they all have some random names. Can anyone help me with reading the files in the folder and then creating a loop that could later load all of my asc files?
thank you
采纳的回答
Cris LaPierre
2020-7-30
I would look into using a datastore. Here's a video demonstrating how to read multiple csv files using an import function with datastore from our Data Processing and Feature Engineering course.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Report Generator 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!