Load 330 mat files and write its content into excel

2 views (last 30 days)
I have 330 mat files in a folder called FCmatFiles. the mat files are 16x2 arrays and the file name is sdof1234 (330 of them) I want to: 1-go to this folder 2-load all mat files 3-write to excel its contents in an array of 330*17. 17 columns being the name of the mat file and plus it's first column. 330 rows being the 330 file names please help

Answers (1)

Walter Roberson
Walter Roberson on 9 Dec 2015
  1 Comment
Harout Markarian
Harout Markarian on 9 Dec 2015
I appreciate your help. However, this code only loads one mat file at a time and then overrides it with the next. I have the following code now I want to write it to the same excel file the content of each mat file
if true
% code
end

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!