[Eeglablist] Problem reading channel locations

Andreas Widmann widmann at uni-leipzig.de
Tue Dec 13 01:19:55 PST 2005


Dear Alexander,

> I have a channel position file that consists of the following entries:
> channel number, radius, theta, phi
> Here's an extract of the first three lines of this file as an example:
Try to use whitespace instead of commas to separate the columns. E.g.
1 1 105 60
2 1 84 63
3 1 63 75

Regards,
Andreas

> 
>  
> 
> 1,1,105,60
> 
> 2,1,84,63
> 
> 3,1,63,75
> 
>  
> 
> When I'm trying to import this data with the command 
> 
> readlocs('F:\RohEEG\SZ\NetzPos.pos','filetype','custom','format',{'channum'
> 'radius' 'theta' 'sph_phi'})
> 
> I'm getting the following error message:
> 
>  
> 
> readlocs() warning: Fewer columns in the input than expected.
> 
>                     See >> help readlocs
> 
> readlocs(): Inserting electrode labels automatically.
> 
> ??? Subscripted assignment dimension mismatch.
> 
>  
> 
> Error in ==> cell2mat at 46
> 
>         M(i,j) = C{i,j};
> 
>  
> 
> Error in ==> readlocs at 588
> 
>        allchannum = cell2mat( { eloc.channum } );
> 
>  
> 
> What am I doing wrong? I specified four columns in the readlocs() command,
> so why does eeglab complain about to few columns in the input file?
> 
>  
> 
> Regards
> 
>  
> 
> Alexander Roth
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> eeglablist mailing list eeglablist at sccn.ucsd.edu
> http://sccn.ucsd.edu/mailman/listinfo/eeglablist
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3190 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20051213/17235ae8/attachment.bin>


More information about the eeglablist mailing list