<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div><div>Hello all,</div><div><br></div><div>Thanks a lot for your attention and replies.</div><div>Actually, I did all steps but I have an error I don't know how can I solve it.</div><div>I first load my .eeg file (Brain vision recorder format) channel locations, filtering and etc. then save it to make .set and .fdt files.</div><div>after that run the AMICA but I have the following error.</div><div><br></div><div><span>Found <g class="gr_ gr_255 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" id="255" data-gr-id="255">datfile</g><br>Error using <g class="gr_ gr_256 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" id="256" data-gr-id="256">fread</g><br>Invalid file identifier. Use <g class="gr_ gr_257 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" id="257" data-gr-id="257">fopen</g> to generate a valid file identifier.<br><br>Error in runamica15 (line 743)<br>        dattmp = fread(fid,[chans inf],'float');<br><br>Error in pop_runamica (line 239)<br>    [W,S,mods] = runamica15(datfile,arglist{:});<br> <br>Error while evaluating Menu Callback.<br><br></span><div>Best Regards,</div><div>Hamed<br></div></div><div><br></div><div class="ydp775bc35dsignature"><div style="font-size:13px;"><br></div></div></div>
        <div><br></div><div><br></div>
        
        </div><div id="yahoo_quoted_2422841199" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Monday, July 16, 2018, 10:28:15 PM GMT+2, Nicholas J. Dogris, Ph.D, <drdogris@neurofieldneurotherapy.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv3275580726"><div><div dir="ltr">Thank you for the kind assistance and walking me through the process.  Your suggestions worked and I was able to run AMICA perfectly.  I really appreciate the help.<div><br clear="none"></div><div>Cheers,</div><div><br clear="none"></div><div>Nick  </div></div><div class="yiv3275580726gmail_extra"><br clear="all"><div><div class="yiv3275580726gmail_signature"><div dir="ltr"><p style="font-size:small;"><span style="font-size:14pt;"><font face="times new roman, serif">Nicholas J. Dogris, Ph.D., BCN, QEEG-D</font></span></p><p style="font-size:small;"><span style="">CEO & Co-Founder, NeuroField, Inc.</span></p><p style="font-size:small;"><span style="font-size:14pt;"><font face="times new roman, serif">California Licensed Psychologist, PSY 17334</font></span></p><p style="font-size:small;"><span style="font-size:14pt;"><font face="times new roman, serif">BCIA Board Certified in Neurofeedback</font></span></p><p style="font-size:small;"><span style="font-size:14pt;"><font face="times new roman, serif">Quantitative EEG Diplomate</font></span></p><p style="font-size:small;"><a rel="nofollow" shape="rect" target="_blank" href="http://www.neurofield.com/" style="color:rgb(17,85,204);"><span style="font-size:14pt;color:rgb(5,99,193);"><font face="times new roman, serif">www.NeuroField.com</font></span></a></p><p style="font-size:small;"><span style="font-size:14pt;"><font face="times new roman, serif">Office: 760-872-4200</font></span></p><p style="font-size:small;"><span style="font-size:14pt;"><font face="times new roman, serif">Fax:     760-873-8007</font></span></p></div></div></div>
<br clear="none"><div class="yiv3275580726yqt9650246725" id="yiv3275580726yqt98160"><div class="yiv3275580726gmail_quote">On Mon, Jul 16, 2018 at 11:57 AM, Arnaud Delorme <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:arno@ucsd.edu" target="_blank" href="mailto:arno@ucsd.edu">arno@ucsd.edu</a>></span> wrote:<br clear="none"><blockquote class="yiv3275580726gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Dear Nick and Hamed,<br clear="none">
<br clear="none">
This is using the Amica plugin from the EEGLAB plugin manager right? (EEGLAB menu File > Manage extension > Data process extension). After downloading the plugin, there is a new menu “Run AMICA” in the Tool menu of EEGLAB. I have just tried it again from Mac OSx High Sierra (Matlab 2018a) and it works like a charm. I used the EEGLAB tutorial dataset eeglab_data_epochs_ica.set (in the sample_data folder).<br clear="none">
<br clear="none">
I did try on Windows 7 (Matlab 2017b) and got the same error as you did though. The issue is that the file amica15mkl.exe returns instantaneously.<br clear="none">
<br clear="none">
Z:\data\MATLAB\eeglab\plugins\ amica1.5\amica15mkl.exe Z:\data\matlab\eeglab\sample_ data\amicaout\input.param<br clear="none">
<br clear="none">
Jason, would you mind to look into this?<br clear="none">
<br clear="none">
Best wishes,<br clear="none">
<br clear="none">
Arno<br clear="none">
<div class="yiv3275580726HOEnZb"><div class="yiv3275580726h5"><br clear="none">
> On Jul 16, 2018, at 11:25 AM, Makoto Miyakoshi <<a rel="nofollow" shape="rect" ymailto="mailto:mmiyakoshi@ucsd.edu" target="_blank" href="mailto:mmiyakoshi@ucsd.edu">mmiyakoshi@ucsd.edu</a>> wrote:<br clear="none">
> <br clear="none">
> Dear Nick and Hamed,<br clear="none">
> <br clear="none">
> > I just don’t understand how to install or use this problem.  Do you know if this will make AMICA run?<br clear="none">
> <br clear="none">
> My bad, my instruction was not complete. Let me explain it below.<br clear="none">
> This is from Makoto's preprocessing pipeline wiki page.<br clear="none">
> 3. Download and copy the following 5 items to /eeglab/plugins/amica<br clear="none">
>    -eegplugin_amica.m<br clear="none">
>    -pop_runamica.m<br clear="none">
>    -runamica15.m<br clear="none">
>    -loadmodout15.m<br clear="none">
>    -amica15mkl.exe (Windows 7/10 64-bit binary)<br clear="none">
> 4. Download and copy the following 2 items to /Windows/System32<br clear="none">
>    -fmpich2.dll (Windows DLL, save in directory with binary)<br clear="none">
>    -libiomp5md.dll (Windows DLL, save in directory with binary)<br clear="none">
> 5. Download and execute mpich2-1.4-win-x86-64.msi (for 64bit Windows) from <br clear="none">
> <a rel="nofollow" shape="rect" target="_blank" href="http://www.mpich.org/static/downloads/1.4/">http://www.mpich.org/static/ downloads/1.4/</a><br clear="none">
> Among the above steps, in the Step 5, you have to execute the downloaded file. As long as you choose the right version for your OS, it should work.<br clear="none">
> I updated my instruction on this point.<br clear="none">
> <br clear="none">
> Please try it again and let us know if it works.<br clear="none">
> Thank you for your patience.<br clear="none">
> <br clear="none">
> Makoto<br clear="none">
> <br clear="none">
> <br clear="none">
> On Sun, Jul 15, 2018 at 9:09 PM Hamed Taheri <<a rel="nofollow" shape="rect" ymailto="mailto:hamedtaheri@yahoo.com" target="_blank" href="mailto:hamedtaheri@yahoo.com">hamedtaheri@yahoo.com</a>> wrote:<br clear="none">
> Hi all,<br clear="none">
> <br clear="none">
> I have the same problem and I can't solve it. <br clear="none">
> <br clear="none">
> Hamed<br clear="none">
> <br clear="none">
> <br clear="none">
> <br clear="none">
> <br clear="none">
> On Friday, July 13, 2018, 12:03:38 AM GMT+2, Nicholas J. Dogris, Ph.D, <<a rel="nofollow" shape="rect" ymailto="mailto:drdogris@neurofieldneurotherapy.com" target="_blank" href="mailto:drdogris@neurofieldneurotherapy.com">drdogris@ neurofieldneurotherapy.com</a>> wrote:<br clear="none">
> <br clear="none">
> <br clear="none">
> Dear Listmates,<br clear="none">
> <br clear="none">
> I am new to AMICA and have been trying to get it to run in EEGLab with no success.  I get the following error:<br clear="none">
> <br clear="none">
> Reference to non-existent field 'W'.<br clear="none">
> <br clear="none">
> Error in runamica15 (line 873)<br clear="none">
>     weights = mods.W(:,:,1);<br clear="none">
> <br clear="none">
> Error in pop_runamica (line 239)<br clear="none">
>     [W,S,mods] = runamica15(datfile,arglist{:}) ;<br clear="none">
>  <br clear="none">
> Error while evaluating uimenu Callback<br clear="none">
> <br clear="none">
> IF anyone knows of a solution to this problem I would be greatly appreciative.  <br clear="none">
> <br clear="none">
> Cheers,<br clear="none">
> <br clear="none">
> Nick<br clear="none">
> ______________________________ _________________<br clear="none">
> Eeglablist page: <a rel="nofollow" shape="rect" target="_blank" href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/ eeglabmail.html</a><br clear="none">
> To unsubscribe, send an empty email to <a rel="nofollow" shape="rect" ymailto="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank" href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn. ucsd.edu</a><br clear="none">
> For digest mode, send an email with the subject "set digest mime" to <a rel="nofollow" shape="rect" ymailto="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank" href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd. edu</a><br clear="none">
> ______________________________ _________________<br clear="none">
> Eeglablist page: <a rel="nofollow" shape="rect" target="_blank" href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/ eeglabmail.html</a><br clear="none">
> To unsubscribe, send an empty email to <a rel="nofollow" shape="rect" ymailto="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank" href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn. ucsd.edu</a><br clear="none">
> For digest mode, send an email with the subject "set digest mime" to <a rel="nofollow" shape="rect" ymailto="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank" href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd. edu</a><br clear="none">
> <br clear="none">
> <br clear="none">
> -- <br clear="none">
> Makoto Miyakoshi<br clear="none">
> Swartz Center for Computational Neuroscience<br clear="none">
> Institute for Neural Computation, University of California San Diego<br clear="none">
> ______________________________ _________________<br clear="none">
> Eeglablist page: <a rel="nofollow" shape="rect" target="_blank" href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/ eeglabmail.html</a><br clear="none">
> To unsubscribe, send an empty email to <a rel="nofollow" shape="rect" ymailto="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank" href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn. ucsd.edu</a><br clear="none">
> For digest mode, send an email with the subject "set digest mime" to <a rel="nofollow" shape="rect" ymailto="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank" href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd. edu</a><br clear="none">
<br clear="none">
</div></div></blockquote></div></div><br clear="none"></div></div></div></div>
            </div>
        </div></div></body></html>