<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(7,55,99)">Dear Jason,<br><br>thanks for your answer.<br>Yes, it did help - somehow the exe file was in a different folder (not in MATLAB path...).<br>Unfortunately though, now that everything seems in the right place, the function calls the proper 32-bit file but shortly after a window pops up reporting that amica12win32.exe has stopped working. This is what MATLAB reports:<br><br>>> EEG = pop_loadset('filename','sample.set','filepath','E:\\work\\golf_coherence\\');<br>>> [ALLEEG, EEG, CURRENTSET] = eeg_store( ALLEEG, EEG, 0 );<br>>> runamica12(EEG.data(:,:));<br><br>pop_loadset(): loading file E:\\work\\golf_coherence\\sample.set ...<br>Reading float file 'E:\\work\\golf_coherence\sample.fdt'...<br>Creating a new ALLEEG dataset 1<br>The system cannot find the path specified. <br>The system cannot find the path specified. <br>The system cannot find the path specified. <br>No recognized parallel environment found. Run qconf -spl to get a list of available environments and use keyword use_pe.<br>Running locally with maximum of 4 threads.<br>Writing data file: C:\Users\germano\Documents\MATLAB\tmpdata9754.fdt<br>A subdirectory or file C:\Users\germano\Documents\MATLAB\amicaouttmp\ already exists. <br>No gm present, setting num_models to 1<br>No W present, exiting<br>??? Reference to non-existent field 'W'.<br><br>Error in ==> runamica12 at 857<br>    weights = mods.W(:,:,1);<br><br><br>When running the compiled version (amica12win32.exe extracted from the zipped file at <a href="http://sccn.ucsd.edu/~jason/amica_web.html">http://sccn.ucsd.edu/~jason/amica_web.html</a> on my HD) I get an error message reporting:<br><br>C:\...\AMICA\libiomp5md.dll is either not designed to run on Windows or it contains an error.<br><br>I get the same dll error on Vista 32-bit, XP 32-bit and Windows 7 32-bit systems.<br>Do you have any suggestions?<br><br>Thanks for your time.<br><br>Germano<br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><br></div></div>
<br><div class="gmail_quote">On 13 September 2014 02:07, Jason Palmer <span dir="ltr"><<a href="mailto:japalmer29@gmail.com" target="_blank">japalmer29@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:black">Hi Germano,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:black">It looks like the runamica12.m file is acting strangely … Near the top of the m-file, there should be a variable AMBIN defined, which should be ‘amica12win64.exe’ for win64 … it tries to query the environment to find out what kind of machine you are using, but this may be failing on your system for some reason. Probably the easiest thing to do is hard code the AMBIN variable to the name of the amica binary for your system, commenting out the machine query. AMBIN should be the name of the binary, e.g. AMBIN = ‘amica12win64.exe’, and it should be in the matlab path. If the binary is not in the matlab path, use the full path, e.g. (AMBIN = ‘E:\...\AMICA\amica12win64.exe’).<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:black">Hope that helps.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:black">Best,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:black">Jason<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:black"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10pt;font-family:"Tahoma","sans-serif""> <a href="mailto:eeglablist-bounces@sccn.ucsd.edu" target="_blank">eeglablist-bounces@sccn.ucsd.edu</a> [mailto:<a href="mailto:eeglablist-bounces@sccn.ucsd.edu" target="_blank">eeglablist-bounces@sccn.ucsd.edu</a>] <b>On Behalf Of </b>Germano Gallicchio<br><b>Sent:</b> Friday, September 12, 2014 2:47 AM<br><b>To:</b> <a href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">eeglablist@sccn.ucsd.edu</a><br><b>Subject:</b> [Eeglablist] AMICA - path error<u></u><u></u></span></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif";color:rgb(7,55,99)">Dear eeglab users,<br><br>I'm trying to use AMICA on MATLAB, but I seem to have problems with the path.<br>I load the EEG structure into the workspace and I type:<br><br><br>>> outdir = 'E:\work\golf_coherence\';<br>>> runamica12('E:\work\golf_coherence\sample.fdt', 'num_chans', EEG.nbchan, 'outdir', outdir);<br><br>The system cannot find the path specified. <br>The system cannot find the path specified. <br>The system cannot find the path specified. <br>No recognized parallel environment found. Run qconf -spl to get a list of available environments and use keyword use_pe.<br>Running locally with maximum of 4 threads.<br>A subdirectory or file E:\work\golf_coherence\ already exists. <br>??? Undefined function or variable "AMBIN".<br><br>Error in ==> runamica12 at 849<br>    system([AMBIN ' ' outdir 'input.param']);<br><br><br>'sample.fdt' contains epoched data, which have been high-pass filtered above 1 Hz, with large artifacts being removed (pop_autorej()) and baseline set as the whole epoch. EEG.data size is 36, 2048, 60.<br>All AMICA functions are in the folder C:\Users\germano\Documents\AMICA, which is in MATLAB's path. <br>I use MATLAB 7.9.0.529 (R2009b) and EEGLAB v13.1.1 on Windows Vista Home Premium 32-bit.<br><br>Thanks for your help!<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Verdana","sans-serif";color:rgb(7,55,99)">Germano<u></u><u></u></span></p></div></div></div></div></div></div></blockquote></div><br></div></div>