<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi Dorothea,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>If you intend to use Fieldtrip for subsequent analysis of your data then if may be a good idea to use the (slightly) higher level reading functions, e.g. read(_fcdc)_data and read(_fccd)_header, since these will return the appropriate data structures. Even if you just want to read the data into an array and do your own stuff, then using the read_data function is a good idea, as it provides a very clean interface for the readers for individual formats.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><DIV><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV class="Section1"><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Arial;color:navy; color: rgb(0, 0, 128); font-size: 13.3333px; "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 128); font-family: Arial; font-size: 13.3333px; ">I am trying to read in EEProbe cnt files. When I use the read_eep_cnt function, I get the following error message:</SPAN><O:P style="color: rgb(0, 0, 128); font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Arial;color:navy; color: rgb(0, 0, 128); font-size: 13.3333px; "><O:P style="color: rgb(0, 0, 128); font-family: Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 128); font-family: Arial; font-size: 13.3333px; "> </SPAN></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy; color: rgb(0, 0, 128); font-size: 13.3333px; "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 128); font-family: Arial; font-size: 13.3333px; ">„ Invalid MEX-file '\\fieldtrip-20060802\private\read_eep_cnt.dll': Unzulässiger Zugriff auf einen Speicherbereich. </SPAN></SPAN></FONT><FONT size="2" color="navy" face="Arial"><SPAN lang="EN-GB" style="font-size:10.0pt;font-family: Arial;color:navy; color: rgb(0, 0, 128); font-size: 13.3333px; "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 128); font-family: Arial; font-size: 13.3333px; ">“   (Unauthorized access to memory)</SPAN><O:P style="color: rgb(0, 0, 128); font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Arial;color:navy; color: rgb(0, 0, 128); font-size: 13.3333px; "><O:P style="color: rgb(0, 0, 128); font-family: Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 128); font-family: Arial; font-size: 13.3333px; "> </SPAN></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Arial;color:navy; color: rgb(0, 0, 128); font-size: 13.3333px; "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 128); font-family: Arial; font-size: 13.3333px; ">I should add that I am not specifying the begin and end sample of the data.</SPAN></SPAN></FONT></P></DIV></SPAN></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>Some things to check/try:</DIV><DIV>a) which operating system are your using (WINDOWS/UNIX/MAC)?</DIV><DIV>b) is the DLL where it is supposed to be?</DIV><DIV>c) you should specify begin and end samples for the read_eep_cnt function (note that the read_data function automatically determines what these should be if you don't specify them).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Hope this helps.</DIV><DIV><BR class="khtml-block-placeholder"></DIV>Regards,</DIV><DIV>Christian</DIV></BODY></HTML>