How can I import a column from multiple .csv files into seperate variables.

1 view (last 30 days)
Here is the current code I have: l1 = cumsum(csvread('list1.csv',1,2,[1,2,1488,2]));
which works for one file however i want to get a list of l1, l2,...,l35 variables with just this specific column from my data files list1.csv, list2.csv,...,list35.csv
any help would be much appreciated!!

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!