<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Andalus;
        panose-1:2 2 6 3 5 4 5 2 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">EEG = pop_biosig(filename,
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#A020F0">'ref'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">,129,</span><span style="font-size:10.0pt;font-family:"Courier New";color:#A020F0">'blockepoch'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">,</span><span style="font-size:10.0pt;font-family:"Courier New";color:#A020F0">'off'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">);</span><span style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This loaded the data with no problems. Now I get the following error message:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Error using reshape<o:p></o:p></p>
<p class="MsoNormal">To RESHAPE the number of elements must not change.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Error in sread (line 141)<o:p></o:p></p>
<p class="MsoNormal">                                        tmp =<o:p></o:p></p>
<p class="MsoNormal">                                        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));<o:p></o:p></p>
<p class="MsoNormal">                                        <o:p></o:p></p>
<p class="MsoNormal">Error in pop_biosig>readfile (line 233)<o:p></o:p></p>
<p class="MsoNormal">        DAT=sread(dat, Inf);% this isn't transposed in original!!!!!!!!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Error in pop_biosig (line 153)<o:p></o:p></p>
<p class="MsoNormal">[dat DAT interval] = readfile(filename, g.channels, g.blockrange, g.memorymapped);<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Error in LoadBDF_EditChanLocs (line 16)<o:p></o:p></p>
<p class="MsoNormal">    EEG = pop_biosig(filename, 'ref',129,'blockepoch','off');<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is anyone else having the same problem? I haven’t been able to find any answer to this on the discussion forum.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Maddie<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Andalus","serif";mso-fareast-language:EN-GB">---------------------------------------------------------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Andalus","serif";mso-fareast-language:EN-GB">Dr Maddie Groom, PhD<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Andalus","serif";mso-fareast-language:EN-GB">Assistant Professor in Applied Developmental Cognitive Neuroscience<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Andalus","serif";mso-fareast-language:EN-GB">Course Director MSc Mental Health Research:
<span style="color:#1F497D"><a href="http://www.nottingham.ac.uk/go/mscmentalhealthresearch">http://www.nottingham.ac.uk/go/mscmentalhealthresearch</a></span></span><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:EN-GB">
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Andalus","serif";mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Andalus","serif";mso-fareast-language:EN-GB">Division of Psychiatry & Applied Psychology | Institute of Mental Health | University of Nottingham Innovation Park |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Andalus","serif";mso-fareast-language:EN-GB">Triumph Road | Nottingham | NG7 2TU 
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Andalus","serif";mso-fareast-language:EN-GB">Tel: +44 (0) 115 82 30267 | Email:
<a href="mailto:maddie.groom@nottingham.ac.uk">maddie.groom@nottingham.ac.uk</a><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<PRE>


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.
</PRE></body>
</html>