How to load multiple excel files using a loop into MATLAB
이전 댓글 표시
Hi,
I have 58 excel files ( S (i).xlsx) and i want to load them all into MATLAB then store them in to two different cells (odd in one and even in another) I can do it one by one but it takes heaps of time. Can you please help me about this?
for i = 1:2:57;
j = 0:2:58;
x_data1 = sprintf('S (%d).xlsx',i);
x_cal = xlsread('S (i).xlsx',y);
x_data2 = sprintf('S (%d).xlsx',j);
x_cal = xlsread(x_data2);
end
PS: I'm a beginner in MATLAB.
Thanks,
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!