Load 330 mat files and write its content into excel

2 ビュー (過去 30 日間)
Harout Markarian
Harout Markarian 2015 年 12 月 9 日
コメント済み: Harout Markarian 2015 年 12 月 9 日
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

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 12 月 9 日
  1 件のコメント
Harout Markarian
Harout Markarian 2015 年 12 月 9 日
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

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by