How to load multiple file type XDF ?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Erwan Tri Efendi
il 3 Nov 2022
Commentato: Erwan Tri Efendi
il 23 Mar 2023
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 Commenti
Risposta accettata
Erwan Tri Efendi
il 1 Dic 2022
2 Commenti
Stephen23
il 1 Dic 2022
Modificato: Stephen23
il 1 Dic 2022
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
Più risposte (0)
Vedere anche
Categorie
Scopri di più su EEG/MEG/ECoG in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!