Dear All,
How can i input multiple excel files in a sequence from a same source folder, for example I have day to day data files coming from a measurement system (01.01.2021, 02.01.2021, 03.01.2021.................) and now I want to input the daily excel files and perform certain calculation and plotings and continue the same process for the upcoming days in an automated process.
Best Regards,
Sarmad

回答 (1 件)

KSSV
KSSV 2021 年 5 月 18 日

0 投票

excelFiles = dir('*.xlsx') ;
N = length(excelFiles) ;
for i = 1:N
thisFile = excelFiles(i).name ;
T = readtable(thisFile) ;
% do what you want
end

カテゴリ

ヘルプ センター および File ExchangeData Import from MATLAB についてさらに検索

質問済み:

2021 年 5 月 18 日

回答済み:

2021 年 5 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by