<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Grégoire,
<div class="">It is not clear why you are having this problem. We miss the full error stack in your message, so it’s not clear in which fieldtrip function the error is thrown.</div>
<div class="">Also, have you checked (and ensured) that the triplet of ‘vhdr’,’eeg’,’mrk’ are in the same folder?</div>
<div class=""><br class="">
</div>
<div class="">Best wishes,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 20 May 2019, at 13:08, VERGOTTE Gregoire <<a href="mailto:Gregoire.VERGOTTE@isae-supaero.fr" class="">Gregoire.VERGOTTE@isae-supaero.fr</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Dear
 community,</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">I
 encounter a problem when I want to follow the tutorial"Preprocessing - reading continuous EEG and MEG data" from the first step.</span>
<pre class="highlight" style="caret-color: rgb(0, 0, 0); font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><code class=""><span class="n">cfg</span> <span class="o">=</span> <span class="p">[];</span>
<span class="n">cfg</span><span class="o">.</span><span class="n">dataset</span>     <span class="o">=</span> <span class="s1">'subj2.vhdr'</span><span class="p">;</span>
<span class="n">data_eeg</span>        <span class="o">=</span> <span class="n">ft_preprocessing</span><span class="p">(</span><span class="n">cfg</span><span class="p">)</span></code></pre>
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Return
 the following error:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; color: rgb(192, 57, 43);" class="">Out
 of memory. The likely cause is an infinite recursion within the program.<br class="">
<br class="">
Error in fileparts (line 40)<br class="">
elseif ~isrow(file)</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Do
 you know why I'm having this problem? (I use Matlab 2019a and I downloaded SubjectEEG and Subject01 files).</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Regards,</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">--</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">---</span>
<table border="0" style="padding-top: 57px; padding-bottom: 57px; border-spacing: 0px; caret-color: rgb(0, 0, 0); font-family: Helvetica; letter-spacing: normal; orphans: auto; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<tbody class="">
<tr class="">
<td class="sig_container" style="padding: 0px 57px 0px 0px; margin: 0px; color: rgb(18, 35, 114); font-family: Arial, Helvetica, sans-serif; vertical-align: top;">
<div style="padding: 0px; margin: 0px; color: rgb(18, 35, 114); font-family: Arial, Helvetica, sans-serif; vertical-align: top; font-size: 12px; font-weight: bold;" class="">
<span class="sig_prenom" style="text-transform: none;">Grégoire</span><span class="Apple-converted-space"> </span>Vergotte</div>
<div style="padding: 0px; margin: 0px; color: rgb(18, 35, 114); font-family: Arial, Helvetica, sans-serif; vertical-align: top; font-size: 11px;" class="">
Post-Doctorant<br class="">
<a href="mailto:gregoire.vergotte@isae-supaero.fr" style="color: rgb(0, 170, 255); text-decoration: none;" class="">gregoire.vergotte@isae-supaero.fr</a></div>
</td>
<td class="sig_container" style="padding: 0px 57px 0px 0px; margin: 0px; color: rgb(18, 35, 114); font-family: Arial, Helvetica, sans-serif; vertical-align: top;">
<div style="padding: 0px; margin: 0px; color: rgb(18, 35, 114); font-family: Arial, Helvetica, sans-serif; vertical-align: top; font-size: 11px;" class="">
<a href="https://www.isae-supaero.fr/" style="color: rgb(0, 170, 255); text-decoration: none;" class="">https://www.isae-supaero.fr</a><br class="">
Institut Supérieur de l'Aéronautique et de l'Espace<br class="">
10, avenue Edouard Belin - BP 54032<br class="">
31055 Toulouse Cedex 4<br class="">
France</div>
</td>
</tr>
<tr height="57px" class="">
<td colspan="4" style="padding: 0px; margin: 0px; color: rgb(18, 35, 114); font-family: Arial, Helvetica, sans-serif; vertical-align: top; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(210, 230, 255);" class="">
 </td>
</tr>
<tr class="">
<td colspan="2" style="padding: 0px; margin: 0px; color: rgb(18, 35, 114); font-family: Arial, Helvetica, sans-serif; vertical-align: top;" class="">
 </td>
<td class="sig_container" colspan="2" style="padding: 0px 57px 0px 0px; margin: 0px; color: rgb(18, 35, 114); font-family: Arial, Helvetica, sans-serif; vertical-align: top;">
<div style="padding: 0px; margin: 0px; color: rgb(18, 35, 114); font-family: Arial, Helvetica, sans-serif; vertical-align: top; font-size: 11px;" class="">
Suivez l'ISAE-SUPAERO sur les réseaux sociaux / Follow the ISAE-SUPAERO on the social media<br class="">
<a href="https://fr-fr.facebook.com/isae.supaero" style="color: rgb(0, 170, 255); text-decoration: none;" class="">Facebook</a><span class="Apple-converted-space"> </span><a href="https://twitter.com/isae_officiel" style="color: rgb(0, 170, 255); text-decoration: none;" class="">Twitter</a><span class="Apple-converted-space"> </span><a href="https://www.linkedin.com/school/isae/" style="color: rgb(0, 170, 255); text-decoration: none;" class="">LinkedIn</a><span class="Apple-converted-space"> </span><a href="https://www.youtube.com/user/ISAEcom" style="color: rgb(0, 170, 255); text-decoration: none;" class="">Youtube</a><span class="Apple-converted-space"> </span><a href="https://www.instagram.com/isae_supaero/" style="color: rgb(0, 170, 255); text-decoration: none;" class="">Instagram</a></div>
</td>
</tr>
</tbody>
</table>
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">fieldtrip
 mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" style="color: rgb(0, 170, 255); text-decoration: none; font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://doi.org/10.1371/journal.pcbi.1002202" style="color: rgb(0, 170, 255); text-decoration: none; font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://doi.org/10.1371/journal.pcbi.1002202</a></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>