[Eeglablist] AMICA Error Please Advise

Hamed Taheri hamedtaheri at yahoo.com
Mon Jul 16 14:16:51 PDT 2018


Hello all,
Thanks a lot for your attention and replies.Actually, I did all steps but I have an error I don't know how can I solve it.I first load my .eeg file (Brain vision recorder format) channel locations, filtering and etc. then save it to make .set and .fdt files.after that run the AMICA but I have the following error.
Found datfile
Error using fread
Invalid file identifier. Use fopen to generate a valid file identifier.

Error in runamica15 (line 743)
        dattmp = fread(fid,[chans inf],'float');

Error in pop_runamica (line 239)
    [W,S,mods] = runamica15(datfile,arglist{:});
 
Error while evaluating Menu Callback.

Best Regards,Hamed


 

    On Monday, July 16, 2018, 10:28:15 PM GMT+2, Nicholas J. Dogris, Ph.D, <drdogris at neurofieldneurotherapy.com> wrote:  
 
 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.
Cheers,
Nick  

Nicholas J. Dogris, Ph.D., BCN, QEEG-D

CEO & Co-Founder, NeuroField, Inc.

California Licensed Psychologist, PSY 17334

BCIA Board Certified in Neurofeedback

Quantitative EEG Diplomate

www.NeuroField.com

Office: 760-872-4200

Fax:     760-873-8007

On Mon, Jul 16, 2018 at 11:57 AM, Arnaud Delorme <arno at ucsd.edu> wrote:

Dear Nick and Hamed,

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).

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.

Z:\data\MATLAB\eeglab\plugins\ amica1.5\amica15mkl.exe Z:\data\matlab\eeglab\sample_ data\amicaout\input.param

Jason, would you mind to look into this?

Best wishes,

Arno

> On Jul 16, 2018, at 11:25 AM, Makoto Miyakoshi <mmiyakoshi at ucsd.edu> wrote:
> 
> Dear Nick and Hamed,
> 
> > I just don’t understand how to install or use this problem.  Do you know if this will make AMICA run?
> 
> My bad, my instruction was not complete. Let me explain it below.
> This is from Makoto's preprocessing pipeline wiki page.
> 3. Download and copy the following 5 items to /eeglab/plugins/amica
>    -eegplugin_amica.m
>    -pop_runamica.m
>    -runamica15.m
>    -loadmodout15.m
>    -amica15mkl.exe (Windows 7/10 64-bit binary)
> 4. Download and copy the following 2 items to /Windows/System32
>    -fmpich2.dll (Windows DLL, save in directory with binary)
>    -libiomp5md.dll (Windows DLL, save in directory with binary)
> 5. Download and execute mpich2-1.4-win-x86-64.msi (for 64bit Windows) from 
> http://www.mpich.org/static/ downloads/1.4/
> 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.
> I updated my instruction on this point.
> 
> Please try it again and let us know if it works.
> Thank you for your patience.
> 
> Makoto
> 
> 
> On Sun, Jul 15, 2018 at 9:09 PM Hamed Taheri <hamedtaheri at yahoo.com> wrote:
> Hi all,
> 
> I have the same problem and I can't solve it. 
> 
> Hamed
> 
> 
> 
> 
> On Friday, July 13, 2018, 12:03:38 AM GMT+2, Nicholas J. Dogris, Ph.D, <drdogris@ neurofieldneurotherapy.com> wrote:
> 
> 
> Dear Listmates,
> 
> I am new to AMICA and have been trying to get it to run in EEGLab with no success.  I get the following error:
> 
> Reference to non-existent field 'W'.
> 
> Error in runamica15 (line 873)
>     weights = mods.W(:,:,1);
> 
> Error in pop_runamica (line 239)
>     [W,S,mods] = runamica15(datfile,arglist{:}) ;
>  
> Error while evaluating uimenu Callback
> 
> IF anyone knows of a solution to this problem I would be greatly appreciative.  
> 
> Cheers,
> 
> Nick
> ______________________________ _________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/ eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn. ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd. edu
> ______________________________ _________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/ eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn. ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd. edu
> 
> 
> -- 
> Makoto Miyakoshi
> Swartz Center for Computational Neuroscience
> Institute for Neural Computation, University of California San Diego
> ______________________________ _________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/ eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn. ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd. edu



  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20180716/8c3a5ad7/attachment.html>


More information about the eeglablist mailing list