[Eeglablist] AMICA Error Please Advise

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Tue Jul 17 15:15:29 PDT 2018


Dear Hamed and Jason

Please write your type of machine (Win/Mac/Linux), OS version, and Matlab
version.

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

I'm not very sure if it is related, but from my experience, sometimes I
needed to feed data by specifying fullpath of .fdt file instead of feeding
Matlab variable directly to the function input. I still don't what what was
wrong, but it was the only solution for me so I did so in some time in the
past. I wonder if you want to try it from Matlab command line if you can.

Jason, does it ring a bell to you?

Makoto

On Mon, Jul 16, 2018 at 2:27 PM Hamed Taheri <hamedtaheri at yahoo.com> wrote:

> 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 <http://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/
> <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 <drdogris at 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
> <http://sccn.ucsd.edu/eeglab/eeglabmail.html>
> > To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.
> ucsd.edu <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-request at sccn.ucsd.edu>
> > ______________________________ _________________
> > Eeglablist page: http://sccn.ucsd.edu/eeglab/ eeglabmail.html
> <http://sccn.ucsd.edu/eeglab/eeglabmail.html>
> > To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.
> ucsd.edu <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-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
> <http://sccn.ucsd.edu/eeglab/eeglabmail.html>
> > To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.
> ucsd.edu <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-request at sccn.ucsd.edu>
>
>
>

-- 
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20180717/131f8f32/attachment.html>


More information about the eeglablist mailing list