<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Hi Germano,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;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’).<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Hope that helps.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Best,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Jason<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> eeglablist-bounces@sccn.ucsd.edu [mailto:eeglablist-bounces@sccn.ucsd.edu] <b>On Behalf Of </b>Germano Gallicchio<br><b>Sent:</b> Friday, September 12, 2014 2:47 AM<br><b>To:</b> eeglablist@sccn.ucsd.edu<br><b>Subject:</b> [Eeglablist] AMICA - path error<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:#073763'>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!<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:#073763'>Germano<o:p></o:p></span></p></div></div></div></body></html>