Scripting to create multiple subjects

Hi David,

The script you posted won't work because variable "RawFiles" is not defined. It should be defined as a cell array of the path to your EEG position file and its format. I recommend you generate a script from the pipeline first to see how it looks like. For example:

'channelfile', {'C:\MATLAB\tutorial_electrodes.elc', 'XENSOR'}, ...

Also, the star (*) in front of Subject won't work in this context. If you want to apply this process to all data files, you can run the process File -> Select files: recordings.

sFiles = bst_process('CallProcess', 'process_select_files_data', sFiles, , ...
'subjectname', 'All', ...
'condition', '', ...
'tag', '', ...
'includebad', 0, ...
'includeintra', 0, ...
'includecommon', 0);

Good luck!
Martin