Load 330 mat files and write its content into excel

2 Ansichten (letzte 30 Tage)
Harout Markarian
Harout Markarian am 9 Dez. 2015
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

Antworten (1)

Walter Roberson
Walter Roberson am 9 Dez. 2015
  1 Kommentar
Harout Markarian
Harout Markarian am 9 Dez. 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

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by