I want to import data of excel used automation

1 view (last 30 days)
This is a hand_operated(manual) code. --------------------------------------------- data_a01 = xlsread('2016-01-01.xlsx'); a01 = zeros(ceil(length(data_a01)/15)*15,7); a01(1:length(data_a01),1:7) = data_a01; result1_a01 = mean(reshape(a01,15,[]))'; resultF_a01 = reshape(result1_a01,[],7) ; --------------------------------------------- But I have many excel files. so, I want to hadle many files more easily. For example, using a for_fuction, import 5 files On the top code, How use the for or etc.. code ??? Help me.

Answers (1)

JIN-HWA JEONG
JIN-HWA JEONG on 1 May 2016
ANd I want to express on workspace.like this workspace----------------------------------- data_a01 = double data_a02 = double data_a03 = double
different name of data_a0? (use automation like for fuction) & Also structures are differnet files.

Tags

Community Treasure Hunt

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

Start Hunting!