Statistical information on events

Hi Francois,

I tried the script below. I get a 1x59 (for 59 subjects) struct with 11 fields (picture below). So the right files are accessed but it seems the events info is not included in this structure as when I use the export file on a single subject. Could you advise what I need to do?

% Input files
sFiles = ;

% Start a new report
bst_report('Start', sFiles);

% Process: Select files using search query
sFiles = bst_process('CallProcess', 'process_select_search', sFiles, , ...
'search', '(([name CONTAINS "resample"]))');

% Process: Load files
Load(sFiles)

% Save and display report
ReportFile = bst_report('Save', sFiles);
bst_report('Open', ReportFile);
% bst_report('Export', ReportFile, ExportDir);

image