Open files from documents in loop
1 ビュー (過去 30 日間)
I want to open several files in a for loop.
Anyone who can help me with this?
For now I tried this:
a = "/Users/diontheunissen/Documents/Smart_Driver/RawData/Scania/e-"
b = r
c = ".csv"
filename = strcat(a,b,c);
filename = convertCharsToStrings(filename);
truck1 = readtable(filename, opts);
How can I make r the variable (1 to 20)?