Converting .mat files in multiple folders into an excel file

2 views (last 30 days)
Hello, I have 63 folders with .mat files in the same directory. All 63 folders have a folder name '1' which has a .mat file. I am trying create a loop to convert the information in all .mat files in one excel spreadsheet. How can I make a loop that takes the 63 .mat file from different folders and convert the mat files into one excel?
  1 Comment
Rik
Rik on 9 Sep 2021
Edited: Rik on 9 Sep 2021
doc load
doc xlswrite
Since you added a minor detail, I will a minor detail as well:
doc fullfile
Have a read here and here. It will greatly improve your chances of getting an answer.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!