How to load multiple file type XDF ?
조회 수: 4 (최근 30일)
이전 댓글 표시
Hello, I have problem load multiple .xdf ? I use code data = pop_loadxdf () but just one file. Please help me, Can I use pop_loadxdf() with multiple file ?
Thanks very much
댓글 수: 2
채택된 답변
Erwan Tri Efendi
2022년 12월 1일
댓글 수: 2
Stephen23
2022년 12월 1일
편집: Stephen23
2022년 12월 1일
Do not change directory just to read a data file. Instead use an absolute/relative filename:
P = 'E:\UNDIP MAGISTER ELEKTRO\Thesis UNDIP\Program Thesis';
S = dir(fullfile(P,'*.xdf'));
for k = 1:numel(S)
F = fullfile(P,S(k).name);
S(k).data = load_xdf(F);
end
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 EEG/MEG/ECoG에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!