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 CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by