Load 330 mat files and write its content into excel

2 vues (au cours des 30 derniers jours)
Harout Markarian
Harout Markarian le 9 Déc 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

Réponses (1)

Walter Roberson
Walter Roberson le 9 Déc 2015
  1 commentaire
Harout Markarian
Harout Markarian le 9 Déc 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

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by