- #1
member 428835
Hi PF!
I am trying to read all the .csv files in a folder. When I execute
I get a general error. However, replacing the asterisk with the file name, it load no issue.
I've seen online how to read several .csv files with only a numeric difference in name (for loops), but is there a way to read all .csv files with different names?
I am trying to read all the .csv files in a folder. When I execute
Code:
OFdata = readtable('/home/josh/Documents/NASA/PSI_DATA/Double_Drain/ICF1-9/OpenFOAM_DATA/*.csv');
I've seen online how to read several .csv files with only a numeric difference in name (for loops), but is there a way to read all .csv files with different names?
Last edited by a moderator: