<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Calibri">Hi Eve, Hi Michael,<br>
      <br>
      I cannot find the specific line of code in the latest version, so
      I assume you are using an old version? If you update to the latest
      version, the problem should be solved.<br>
      <br>
      Just for your curiosity, the bug was most likely caused by using
      the ancient strmatch (deprecated in later version of matlab).
      Changing it strcmp would have most likely fixed the problem.<br>
      <br>
      Cheers,<br>
      Roemer<br>
    </font><br>
    <br>
    <br>
    <br>
    On 07-03-12 18:57, Epstein, Michael wrote:
    <blockquote
cite="mid:2586A1048152BE4D861E64A98700AD420A999C27@nki-mail.NKI.rfmh.org"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
      <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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</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]-->
      <div class="Section1">
        <p class="MsoNormal"><span style="color:#1F497D">Interesting...
            can I ask what
            version of matlab you were running? and was it 64 bit?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">-Michael<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <div style="border:none;border-top:solid #B5C4DF
          1.0pt;padding:3.0pt 0in 0in 0in">
          <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
              <a class="moz-txt-link-abbreviated" href="mailto:fieldtrip-bounces@donders.ru.nl">fieldtrip-bounces@donders.ru.nl</a>
              [<a class="moz-txt-link-freetext" href="mailto:fieldtrip-bounces@donders.ru.nl">mailto:fieldtrip-bounces@donders.ru.nl</a>] <b>On
                Behalf Of </b>Mehmet-Akif Coskun<br>
              <b>Sent:</b> Wednesday, March 07, 2012 12:56 PM<br>
              <b>To:</b> Email discussion list for the FieldTrip project<br>
              <b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
              <b>Subject:</b> Re: [FieldTrip] Error -> ft_databrowser<o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt"><span
            style="font-size:12.0pt;
            font-family:"Times New Roman","serif"">Hi
            Michael,</span><br>
          <br>
          <br>
          I have posted the question actually but I didn't hear any
          suggestions about it.
          The same error was posted yesterday by someone else. <br>
          <br>
          <br>
          just to repeat what i have replied in the other post, i tried
          many things to
          solve it (changed the code, run the databrowser code line by
          line, updated
          fieldtrip version at etc.), but none of them solved the
          problem. I started
          getting the error after I tried using parallel processing
          scripts in matlab.
          But as i said, i have no basis to say that this caused the
          problem. So
          basically, i do not know any scientific solution.<br>
          <br>
          <br>
          But an old school method solved the problem in my case. Simply
          i uninstalled
          and re-installed matlab. Never got the error again. You may
          want to try this. I
          have no other solution.<br>
          <br>
          <br>
          Mehmet<br>
          <br>
          <br>
          <br>
          <br>
          <br>
          ----- Original Message -----<br>
          From: "Epstein, Michael" <a class="moz-txt-link-rfc2396E" href="mailto:MEpstein@NKI.RFMH.ORG"><MEpstein@NKI.RFMH.ORG></a><br>
          Date: Wednesday, March 7, 2012 11:29 am<br>
          Subject: Re: [FieldTrip] Error -> ft_databrowser<br>
          To: <a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><o:p></o:p></p>
        <table class="MsoNormalTable" border="0" cellpadding="0">
          <tbody>
            <tr>
              <td style="padding:.75pt .75pt .75pt .75pt">
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black">Hi - I am actually
                    encountering the same error with databrowser, and
                    was wondering if you ever came up with a solution to
                    this problem - or if anyone else has a solution - I
                    didn't find a response on the mailing list.</span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black"> </span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black">-Michael</span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black"> </span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black"> </span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black"> </span><o:p></o:p></p>
                <div class="MsoNormal"
                  style="text-align:center;background:white"
                  align="center"><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black">
                    <hr align="center" size="2" width="100%"> </span></div>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black">Dear Fieldtrippers,</span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black"> </span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black"> </span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black">I am encountering a strange
                    error while i try to use ft_databrowser. The error
                    code is as below. I have never seen this error
                    earlier. I used ft_databrowser many times and its
                    only last 2 days that i am getting the error. I
                    downloaded a newer version of fieldtrip
                    (fieldtrip-20120130) and used the newer version but
                    still the same error. Strangely, i dont get this
                    error when i tried with other computers (same matlab
                    version (R2010a), same operating system (windows 7)
                    on both computers. Has anyone got this error before?
                    what may cause this error?</span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black"> </span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black"> </span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black">fieldtrip version 20120130,
                    matlab version R2010a, operating system windows 7.</span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black"> </span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black"> </span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black">Thanks in advance for any
                    suggestions.</span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black"> </span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black"> </span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black"> </span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black">??? Error using ==>
                    ft_fetch_data at 57</span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black">data does not contain a
                    consistent trial definition, fetching data is not</span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black">possible</span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black"> </span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black"> </span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black">Error in ==>
                    ft_databrowser>redraw_cb at 1159</span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black">art =
                    ft_fetch_data(opt.artdata, 'begsample', begsample,
                    'endsample', endsample);</span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black"> </span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black"> </span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black">Error in ==>
                    ft_databrowser at 535</span><o:p></o:p></p>
                <p class="MsoNormal" style="background:white"><span
                    style="font-size:10.5pt; font-family:"Courier
                    New";color:black;background:#F5F8F0">> </span><span
                    style="font-size:10.0pt;font-family:"Courier
                    New";color:black">redraw_cb(h);</span><o:p></o:p></p>
                <p class="MsoNormal"><span
                    style="font-size:10.5pt;background:#F5F8F0">> </span> <o:p></o:p></p>
                <p class="MsoNormal"><span
                    style="font-size:12.0pt;font-family:"Times New
                    Roman","serif""><o:p> </o:p></span></p>
                <div class="MsoNormal" style="text-align:center"
                  align="center"><span
                    style="font-size:12.0pt;font-family:"Times New
                    Roman","serif"">
                    <hr align="center" size="2" width="100%"> </span></div>
                <p class="MsoNormal"><span
                    style="font-size:10.5pt;font-family:"Times New
                    Roman","serif"; background:#F5F8F0">>
                  </span><span style="font-size:12.0pt;font-family:
                    "Times New Roman","serif"">Conserve
                    Resources. Print only when necessary.<br>
                  </span><span
                    style="font-size:10.5pt;font-family:"Times New
                    Roman","serif"; background:#F5F8F0">>
                  </span><span style="font-size:12.0pt;font-family:
                    "Times New Roman","serif""><br>
                  </span><span
                    style="font-size:10.5pt;font-family:"Times New
                    Roman","serif"; background:#F5F8F0">>
                  </span><span style="font-size:12.0pt;font-family:
                    "Times New Roman","serif"">IMPORTANT
                    NOTICE: This e-mail is meant only for the use of the
                    intended recipient. It may contain confidential
                    information which is legally privilegedor otherwise
                    protected by law. If you received this e-mail in
                    error or from someone who is not authorized to send
                    it to you, you are strictly prohibited from
                    reviewing, using, disseminating, distributing or
                    copying the e-mail. PLEASE NOTIFY US IMMEDIATELY OF
                    THE ERROR BY RETURN E-MAIL AND DELETE THIS MESSAGE
                    FROM YOUR SYSTEM. Thank you for your cooperation. <o:p></o:p></span></p>
              </td>
            </tr>
          </tbody>
        </table>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:"Times New
            Roman","serif"">>
            _______________________________________________<br>
            > fieldtrip mailing list<br>
            > <a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
            > <a class="moz-txt-link-freetext" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a>
            <o:p></o:p></span></p>
      </div>
      <div>
        <hr>
        Conserve Resources. Print only when necessary.<br>
        <br>
        IMPORTANT NOTICE: This e-mail is meant only for the use of the
        intended recipient. It may contain confidential information
        which is legally privilegedor otherwise protected by law. If you
        received this e-mail in error or from someone who is not
        authorized to send it to you, you are strictly prohibited from
        reviewing, using, disseminating, distributing or copying the
        e-mail. PLEASE NOTIFY US IMMEDIATELY OF THE ERROR BY RETURN
        E-MAIL AND DELETE THIS MESSAGE FROM YOUR SYSTEM. Thank you for
        your cooperation.
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
fieldtrip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>
<a class="moz-txt-link-freetext" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <font size="2"><font color="darkblue"><font face="calibri">Roemer
            van der Meij M.Sc.<br>
            PhD student<br>
            Donders Institute for Brain, Cognition and Behaviour<br>
            Centre for Cognition<br>
            P.O. Box 9104<br>
            6500 HE Nijmegen<br>
            The Netherlands<br>
            Tel: +31(0)24 3655932<br>
            E-mail: <a class="moz-txt-link-abbreviated" href="mailto:r.vandermeij@donders.ru.nl">r.vandermeij@donders.ru.nl</a><br>
          </font></font></font></div>
  </body>
</html>