<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>Intel(R) Core(TM) i7-6700 HQ CPU @ 2.6 GHz</div><div>16.0 GB RAM</div><div>Windows 10 64-bit</div><div>Matlab 2017b<br></div><div><br></div><div class="ydp896a80dasignature"><div style="font-size:13px;"><br></div></div></div>
<div><br></div><div><br></div>
</div><div id="yahoo_quoted_2333510661" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Thursday, July 19, 2018, 11:08:42 AM GMT+2, Jason Palmer <japalmer29@gmail.com> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv9502448299"><div><div>Ok thanks Hamed. Could you let me know your processor?</div><br clear="none"><div class="yiv9502448299yqt2512473251" id="yiv9502448299yqt70305"><div class="yiv9502448299gmail_quote"><div dir="ltr">On Thu, Jul 19, 2018, 6:02 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"></div><blockquote class="yiv9502448299gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><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>Dear Jason,</div><div><br clear="none"></div><div>I've first reinstalled the AMICA and put two .dll files in the AMICA1.5 folder. Then<span> downloaded the <u></u>Memorze<u></u>.fdt </span> and copied and saved the <span><a rel="nofollow" shape="rect" target="_blank" href="https://sccn.ucsd.edu/~jason/amica15/amicadefs.param"><u></u>amicadefs<u></u>.param</a> in a text file and changed .txt to .param because the <span><a rel="nofollow" shape="rect" target="_blank" href="https://sccn.ucsd.edu/~jason/amica15/amicadefs.param"><u></u>amicadefs<u></u>.param</a></span> is not downloadable. </span> <br clear="none"></div><div>Now in my AMICA1.5 folder I have 13 files. <br clear="none"></div><div>(<span>amica15c, <span>amica15mac, <span>amica15mkl.exe, <span>amica15ub, <span>amicadefs.param, <span>eeg_loadamica.m, <span>eegplugin_amica.m, <span>fmpich2.dll, <span>libiomp5md.dll, <span>loadmodout15.m, <span>Memorize.fdt, <span>pop_runamica.m, <span>runamica15.m)</span></span></span></span></span></span></span></span></span></span></span></span></span></div><div><span><span><span><span><span><span><span><span><span><span><span><span><span></span></span></span></span></span></span></span></span></span></span></span></span></span><br clear="none"></div><div>After that ran the cmd.exe for running the <span><span>amica15mkl.exe <u></u>amicadefs<u></u>.param. I've used the following directory for running two mentioned files. <br clear="none"></span></span></div><div><span><span>I wrote amica15mkl.exe and <u></u>amicadefs<u></u>.param respectively with a space between them. </span></span><br clear="none"></div><div><span>E:\eeglab1412b\plugins\AMICA1.5>amica15mkl.exe amicadefs.param</span></div><div><span><br clear="none"></span></div><div><span>But I have the application error.</span></div><div><span>The application was unable to start correctly (0xc000007b). Click OK to close the application. <br clear="none"></span></div><div><span><br clear="none"></span></div><div><span>Hamed</span><br clear="none"></div><div class="yiv9502448299m_5775093598278856707ydp8365680asignature"><div style="font-size:13px;"><br clear="none"></div></div></div>
<div><br clear="none"></div><div><br clear="none"></div>
</div><div class="yiv9502448299m_5775093598278856707yahoo_quoted" id="yiv9502448299m_5775093598278856707yahoo_quoted_2580889276">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Thursday, July 19, 2018, 12:00:49 AM GMT+2, Jason Palmer <<a rel="nofollow" shape="rect" ymailto="mailto:japalmer29@gmail.com" target="_blank" href="mailto:japalmer29@gmail.com">japalmer29@gmail.com</a>> wrote:
</div>
<div><br clear="none"></div>
<div><br clear="none"></div>
<div><div id="yiv9502448299m_5775093598278856707yiv2182162996"><div><div>Also you may need to uninstall and reinstall the amica plugin extension after moving eeglab.</div><br clear="none"><div class="yiv9502448299m_5775093598278856707yiv2182162996yqt7826430894" id="yiv9502448299m_5775093598278856707yiv2182162996yqt46965"><div class="yiv9502448299m_5775093598278856707yiv2182162996gmail_quote"><div dir="ltr">On Thu, Jul 19, 2018, 6:15 AM Jason Palmer <<a rel="nofollow" shape="rect" ymailto="mailto:japalmer29@gmail.com" target="_blank" href="mailto:japalmer29@gmail.com">japalmer29@gmail.com</a>> wrote:<br clear="none"></div><blockquote class="yiv9502448299m_5775093598278856707yiv2182162996gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>If you run cmd.exe, change to the amica plugin directory, make sure the dlls and Memorze.fdt and amicadefs.param are in the directory, and run<div><br clear="none"></div><div>amica15mkl.exe amicadefs.param</div><div><br clear="none"></div><div>And let me know if it works or there is an error.</div><div><br clear="none"></div><div>The files can be downloaded from</div><div><br clear="none"></div><div><a rel="nofollow" shape="rect" target="_blank" href="https://sccn.ucsd.edu/~jason/amica_web.html">https://sccn.ucsd.edu/~jason/amica_web.html</a></div><div><br clear="none"></div><div><br clear="none"></div></div><br clear="none"><div class="yiv9502448299m_5775093598278856707yiv2182162996gmail_quote"><div dir="ltr">On Thu, Jul 19, 2018, 5:14 AM Jason Palmer <<a rel="nofollow" shape="rect" ymailto="mailto:japalmer29@gmail.com" target="_blank" href="mailto:japalmer29@gmail.com">japalmer29@gmail.com</a>> wrote:<br clear="none"></div><blockquote class="yiv9502448299m_5775093598278856707yiv2182162996gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Can you try running the amica binary with the amicadefs.param argument and test data from the windows command line (cmd.exe) as described on the amica webpage? Looks like the binary is not running and it is returning immediately ...</div><br clear="none"><div class="yiv9502448299m_5775093598278856707yiv2182162996gmail_quote"><div dir="ltr">On Thu, Jul 19, 2018, 5:09 AM 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"></div><blockquote class="yiv9502448299m_5775093598278856707yiv2182162996gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><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>Just to let you know, after changing the directory some lines of the error removed. <br clear="none"></div><div>The new error:</div><div><br clear="none"></div><div><span>Found <u></u>datfile<u></u><br clear="none">A subdirectory or file E:\Test\atest\amicaout\ already exists. <br clear="none">No gm present, setting num_models to 1<br clear="none"><u></u>No W<u></u> present, exiting<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 Menu Callback.</span><br clear="none"></div><div><br clear="none"></div><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223ydp2845abb0signature"><div style="font-size:13px;"><br clear="none"></div></div></div>
<div><br clear="none"></div><div><br clear="none"></div>
</div><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yahoo_quoted" id="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yahoo_quoted_2327419971">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Wednesday, July 18, 2018, 10:03:32 PM GMT+2, Hamed Taheri <<a rel="nofollow" shape="rect" ymailto="mailto:hamedtaheri@yahoo.com" target="_blank" href="mailto:hamedtaheri@yahoo.com">hamedtaheri@yahoo.com</a>> wrote:
</div>
<div><br clear="none"></div>
<div><br clear="none"></div>
<div><div id="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833"><div><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>Yes, I removed the previous path and added the new path. <br clear="none"></div><div><br clear="none"></div><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833ydp5311d912signature"><div style="font-size:13px;"><br clear="none"></div></div></div>
<div><br clear="none"></div><div><br clear="none"></div>
</div><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833yqt7265967826" id="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833yqt47450"><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833yahoo_quoted" id="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833yahoo_quoted_2252522025">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Wednesday, July 18, 2018, 10:01:19 PM GMT+2, Jason Palmer <<a rel="nofollow" shape="rect" ymailto="mailto:japalmer29@gmail.com" target="_blank" href="mailto:japalmer29@gmail.com">japalmer29@gmail.com</a>> wrote:
</div>
<div><br clear="none"></div>
<div><br clear="none"></div>
<div><div id="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833"><div><div>Did you restart eeglab from the new path? It is trying to run Amica from c:\program files ... </div><br clear="none"><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833yqt0672777677" id="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833yqt58082"><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833gmail_quote"><div dir="ltr">On Thu, Jul 19, 2018, 4:55 AM 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"></div><blockquote class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><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>I've changed the <u></u>eeglab<u></u> directory to the following path: <span>E:\eeglab</span></div><div><span>But I have the same error as before.</span></div><br clear="none"><div><br clear="none"></div><div><span>Found <u></u>datfile<u></u><br clear="none">A subdirectory or file E:\Test\atest\amicaout\ already exists. <br clear="none">'C:\Program' is not recognized as an internal or external command, <br clear="none">operable program or batch file. <br clear="none">No gm present, setting num_models to 1<br clear="none"><u></u>No W<u></u> present, exiting<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 Menu Callback.<br clear="none"></span><span></span><div><br clear="none"></div><div>Hamed<br clear="none"></div> <br clear="none"></div><div><br clear="none"></div><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389ydp2bbbc24esignature"><div style="font-size:13px;"><br clear="none"></div></div></div>
<div><br clear="none"></div><div><br clear="none"></div>
</div><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yahoo_quoted" id="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yahoo_quoted_2498044713">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Wednesday, July 18, 2018, 9:42:19 PM GMT+2, Jason Palmer <<a rel="nofollow" shape="rect" ymailto="mailto:japalmer29@gmail.com" target="_blank" href="mailto:japalmer29@gmail.com">japalmer29@gmail.com</a>> wrote:
</div>
<div><br clear="none"></div>
<div><br clear="none"></div>
<div><div id="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323"><div><div>It looks like the problem might be that your eeglab directory is under "program files" which has a space. Can you try moving eeglab directory (and Amica plug-in) to a path with no spaces?</div><br clear="none"><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323yqt9661826480" id="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323yqt96203"><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323gmail_quote"><div dir="ltr">On Thu, Jul 19, 2018, 4:00 AM 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"></div><blockquote class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><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><span></span><div> </div><div><span></span><div>Dear Jason,</div><div><br clear="none"></div></div><span></span><div>Unfortunately, I've checked all of the possible mistakes but it doesn't work. Just for sure I want to share my system and files information.</div><div>1- I'm using windows7 64. Matlab 2017b. <br clear="none"></div><div>2- my <u></u>amica<u></u> folder name is <span>AMICA1.5. There are 6 files in the folder (<span>amica15mkl.exe, <span>eeg_loadamica.m, <span>eegplugin_amica.m, <span>loadmodout15.m, <span>pop_runamica.m and <span>runamica15.m). <br clear="none"></span></span></span></span></span></span></span></div><div><span><span><span><span><span><span><span>3- I've copied two <span>fmpich2.dll and </span></span></span></span></span></span></span>libiomp5md.dll files in <span>C:\Windows\System32 <br clear="none"></span></span></div><div><span><span>4- I've downloaded and installed <span><a rel="nofollow" shape="rect" target="_blank" href="http://www.mpich.org/static/downloads/1.4/mpich2-1.4-win-x86-64.msi">mpich2-1.4-win-x86-64.msi</a> <br clear="none"></span></span></span></div><div><span><span><span>5- my EEG signals format is .eeg</span></span></span><br clear="none"></div><div style="font-size:13px;">6- I did pre-processing steps and then save .set file after that I ran the AMICA with the saved .set file. <br clear="none"></div><div style="font-size:13px;">( In File: <span>E:\Test\atest\aaaaa.fdt Out Directory: <span>E:\Test\atest\amicaout ). I didn't use characters in the file path.</span></span></div><div style="font-size:13px;"><span><span>I've tried to change something maybe it works . for example running the MATLAB as administrator, changing the Matlab directory to the folder which .set files are there, <span><span><span>changing the Matlab directory to AMICA1.5 folder, copying two .dll files in the AMICA1.5 folder, copying <span><span><span>amica15mkl.exe to system32. </span></span></span><br clear="none"></span></span></span></span></span></div><div style="font-size:13px;"><span><span><span><span><span>but the result was the same.</span></span></span> ( The following error)</span></span></div><div style="font-size:13px;"><span><span><br clear="none"></span></span></div><div style="font-size:13px;"><span><span><span>Found <u></u>datfile<u></u><br clear="none">'C:\Program' is not recognized as an internal or external command, <br clear="none">operable program or batch file. <br clear="none">No gm present, setting num_models to 1<br clear="none"><u></u>No W<u></u> present, exiting<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 Menu Callback.</span><br clear="none"></span></span></div><div style="font-size:13px;"><span><span><br clear="none"></span></span></div><div style="font-size:13px;"><span><span></span></span>I really don't know how what is my mistake or what is the problem?</div><div style="font-size:13px;">In the Makoto's preprocessing pipeline written <span>fmpich2.dll (Windows DLL, save in directory with binary) I would like to know what does it mean "with <u></u>binary<u></u> ", in 'save in directory with binary' sentence. I've just copied that <u></u><u></u>two<u></u> .<u></u>DLL files and pasted in the system32 folder.</span></div><div style="font-size:13px;"><span><br clear="none"></span></div><span>Hamed</span><br clear="none"></div><div><br clear="none"></div><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870ydp4b43483bsignature"><div style="font-size:13px;"><br clear="none"></div></div></div>
<div><br clear="none"></div><div><br clear="none"></div>
</div><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yahoo_quoted" id="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yahoo_quoted_2527533489">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Wednesday, July 18, 2018, 2:39:08 AM GMT+2, Jason Palmer <<a rel="nofollow" shape="rect" ymailto="mailto:japalmer29@gmail.com" target="_blank" href="mailto:japalmer29@gmail.com">japalmer29@gmail.com</a>> wrote:
</div>
<div><br clear="none"></div>
<div><br clear="none"></div>
<div><div id="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147"><div><div>I haven't seen this exact error before ... But many people have had errors when they try to use a file name or path with spaces. Amica won't allow spaces in path or file name (which Windows does e.g.). Hamed can you confirm there are no spaces in the name or path?</div><br clear="none"><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147gmail_quote"><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147yqt8340599652" id="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147yqt36586"><div dir="ltr">On Wed, Jul 18, 2018, 7:16 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"></div><blockquote class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">Dear Hamed and Jason<div><br clear="none"></div><div>Please write your type of machine (Win/Mac/Linux), OS version, and Matlab version.</div><div><br clear="none"></div><div><span>>Error in runamica15 (line 743)</span><br clear="none"><span>> dattmp = fread(fid,[chans inf],'float');</span><br clear="none"></div><div><br clear="none"></div><div>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.</div><div><br clear="none"></div><div>Jason, does it ring a bell to you?</div><div><br clear="none"></div><div>Makoto</div><br clear="none"><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147gmail_quote"><div dir="ltr">On Mon, Jul 16, 2018 at 2:27 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"></div><blockquote class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><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 clear="none"></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 clear="none"></div><div><span>Found <u></u>datfile<u></u><br clear="none">Error using <u></u>fread<u></u><br clear="none">Invalid file identifier. Use <u></u>fopen<u></u> to generate a valid file identifier.<br clear="none"><br clear="none">Error in runamica15 (line 743)<br clear="none"> dattmp = fread(fid,[chans inf],'float');<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 Menu Callback.<br clear="none"><br clear="none"></span><div>Best Regards,</div><div>Hamed<br clear="none"></div></div><div><br clear="none"></div><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147m_4523008923720266773m_-4099493275059454672ydp775bc35dsignature"><div style="font-size:13px;"><br clear="none"></div></div></div>
<div><br clear="none"></div><div><br clear="none"></div>
</div><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147m_4523008923720266773m_-4099493275059454672yahoo_quoted" id="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147m_4523008923720266773m_-4099493275059454672yahoo_quoted_2422841199">
<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, <<a rel="nofollow" shape="rect" ymailto="mailto:drdogris@neurofieldneurotherapy.com" target="_blank" href="mailto:drdogris@neurofieldneurotherapy.com">drdogris@neurofieldneurotherapy.com</a>> wrote:
</div>
<div><br clear="none"></div>
<div><br clear="none"></div>
<div><div id="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147m_4523008923720266773m_-4099493275059454672yiv3275580726"><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="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147m_4523008923720266773m_-4099493275059454672yiv3275580726gmail_extra"><br clear="all"><div><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147m_4523008923720266773m_-4099493275059454672yiv3275580726gmail_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>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="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147m_4523008923720266773m_-4099493275059454672yiv3275580726yqt9650246725" id="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147m_4523008923720266773m_-4099493275059454672yiv3275580726yqt98160"><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147m_4523008923720266773m_-4099493275059454672yiv3275580726gmail_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="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147m_4523008923720266773m_-4099493275059454672yiv3275580726gmail_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="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147m_4523008923720266773m_-4099493275059454672yiv3275580726HOEnZb"><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147m_4523008923720266773m_-4099493275059454672yiv3275580726h5"><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></div></blockquote></div><br clear="all"><div><br clear="none"></div>-- <br clear="none"><div class="yiv9502448299m_5775093598278856707yiv2182162996m_-5828693178674571031m_-5522103970285421783m_-3165855080313575223yiv6760137833m_-8258318649357380389yiv3299420323m_831648922421151870yiv5213712147m_4523008923720266773gmail_signature" dir="ltr"><div dir="ltr">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"></div></div></div>
_______________________________________________<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></blockquote></div></div></div></div></div>
</div>
</div></div></div></blockquote></div></div></div></div></div>
</div>
</div></div></div></blockquote></div></div></div></div></div>
</div>
</div></div></div></div></div></div>
</div>
</div></div></div></blockquote></div>
</blockquote></div>
</blockquote></div></div></div></div></div>
</div>
</div></div></div></blockquote></div></div></div></div></div>
</div>
</div></div></body></html>