[Eeglablist] Reshape error message when using Biosig toolbox

Maddie Groom Maddie.Groom at nottingham.ac.uk
Thu Jan 7 07:59:46 PST 2016


Hi

I'm using EEGLab version 13.5.4b and can't seem to get the Biosig toolbox working, either from the GUI or from a matlab script. In a matlab script (which worked fine last year running a slightly older version of EEGLab) I used the following code to run pop_biosig to import bdf data:

EEG = pop_biosig(filename, 'ref',129,'blockepoch','off');

This loaded the data with no problems. Now I get the following error message:


Error using reshape
To RESHAPE the number of elements must not change.

Error in sread (line 141)
                                        tmp =
                                        2.^[0,8,16]*double(reshape(s(HDR.AS.bi(K)*3+1:HDR.AS.bi(K+1)*3,:),3,HDR.AS.SPR(K)*c/HDR.AS.bpb));

Error in pop_biosig>readfile (line 233)
        DAT=sread(dat, Inf);% this isn't transposed in original!!!!!!!!

Error in pop_biosig (line 153)
[dat DAT interval] = readfile(filename, g.channels, g.blockrange, g.memorymapped);

Error in LoadBDF_EditChanLocs (line 16)
    EEG = pop_biosig(filename, 'ref',129,'blockepoch','off');

Is anyone else having the same problem? I haven't been able to find any answer to this on the discussion forum.

Thanks,
Maddie

---------------------------------------------------------------------------------------------------------
Dr Maddie Groom, PhD
Assistant Professor in Applied Developmental Cognitive Neuroscience
Course Director MSc Mental Health Research: http://www.nottingham.ac.uk/go/mscmentalhealthresearch

Division of Psychiatry & Applied Psychology | Institute of Mental Health | University of Nottingham Innovation Park |
Triumph Road | Nottingham | NG7 2TU
Tel: +44 (0) 115 82 30267 | Email: maddie.groom at nottingham.ac.uk<mailto:maddie.groom at nottingham.ac.uk>





This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it. 

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20160107/36ab5275/attachment.html>


More information about the eeglablist mailing list