[Eeglablist] variables as arguments in pop_importdata()

Nick Bedo nickbedo at yahoo.com
Wed Apr 14 20:30:23 PDT 2010


Hi all,

I'm importing data as part of a loop, and I'm trying to automate certain parameters of the pop_importdata() function.  Specifically, I'm trying to add a variable as an input argument, but I can't seem to figure it out.  Here is the line of code that I'm working on:

    EEG = pop_importdata('dataformat','array','data','temp2','srate',200,'pnts',0,'xmin',0,'nbchan',0, 'setname', 'currfile');

'currfile' is the name that I want to change with each iteration of the loop.  Any and all contributions are appreciated.

Thanks,
Nick


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20100414/94c1c0fe/attachment-0001.html 


More information about the eeglablist mailing list