Demo entry 6332400

test

   

Submitted by test on Dec 02, 2016 at 10:05
Language: Matlab. Code size: 646 Bytes.

eeglab
pbdata = NuPodDataLoader();
% Format conversion
% if no destination assigned, the results are delivered to the input location
datapath = fullfile(fileparts(which('NuPodDataLoader')), 'examples', 'testdata.pb');
pbdata.toMatFile(datapath, 'C:/')
pbdata.toMatFile(datapath)

pbdata.toCsvFile(datapath, 'C:/')
pbdata.toCsvFile(datapath)
% convert to eeglab structure
EEG = pbdata.toEEGStruct(datapath);
% convert to eeglab structure and load into eeglab
EEG = pbdata.loadToEEGLAB(datapath);
% convert ALL the pb files in the sub-directory to eeglab structure
ALLEEG = pbdata.allToEEGStruct(fileparts(which('NuPodDataLoader')));

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).