[Eeglablist] pop_saveset and subjects?

Andrew Hill andrewhill at ucla.edu
Wed Jul 1 14:49:32 PDT 2009


is there any way to call pop_saveset and specify the subject name at  
this stage?

i tried something like:

EEG = pop_saveset (EEG, 'filename', [int2str(S),  
'_AVGREF_',Cond(c,:),'.set'], 'filepath', '/data/out/', 'subject',  
['Subject_',int2str(S)]);

and i'm getting: undefined argument 'subject'.

i'd expect that pop_saveset should be able to modify any of the items  
in the EEG set datastructure, e.g (assuming S = 108 for the above)

     setname: '108'
     filename: '108.set'
     filepath: '/Users/andrew/Documents/Research/DATA/stage'
     subject: 'Subject_108'
     group: ''
     condition: ''
     session: []
etc...

and i'd like to specify all this stuff at saveset time to speed up the  
creation of studies later...
am i missing something?


thanks,
andrew




More information about the eeglablist mailing list