<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)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:"\@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";
        color:black;}
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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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 bgcolor=white 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 Alisha,<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 problem is that you have a Windows style path with spaces in directory names. Unfortunately amica12 treats white space as a filename separator. It is saving a temporary file with the data to the current directory with your full name in the path. As a workaround, I would suggest either running runamica12 from a non-whitespace path, like c:\data\eeg\amica, … or at least keeping eeg data in a non-white space path and referencing calling runamica12 with the filename, >> runamica12( ‘c:\data\eeg\mydat.fdt’, ‘numchans’, EEG.nbchan).<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'>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><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> eeglablist-bounces@sccn.ucsd.edu [mailto:eeglablist-bounces@sccn.ucsd.edu] <b>On Behalf Of </b>Alisha Kozlovsky<br><b>Sent:</b> Friday, July 25, 2014 6:37 PM<br><b>To:</b> eeglablist@sccn.ucsd.edu<br><b>Subject:</b> [Eeglablist] I can't get AMICA 12 to work through MATLAB<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Hi friends,<br><br>I am trying to run AMICA using data I have loaded in EEGLab.<br><br>I typed in the following into the MATLAB command line:<br><br> [ EEG.icaweights, EEG.icasphere, mods ] = runamica12( EEG.data(:,:) );<br><br>After that, I received this error:<br><span style='font-family:"Courier New"'><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\Ali Kozlovsky\Desktop\amica matlab\tmpdata27850.fdt<br>A subdirectory or file C:\Users\Ali already exists. <br>Error occurred while processing: C:\Users\Ali. <br>A subdirectory or file Kozlovsky\Desktop\amica already exists. <br>Error occurred while processing: Kozlovsky\Desktop\amica. <br>A subdirectory or file matlab\amicaouttmp\ already exists. <br>Error occurred while processing: matlab\amicaouttmp\. <br>Error in ==> runamica12 at 100<br>if ~isempty(strfind(computer,'64'))<br><br>??? Output argument "weights" (and maybe others) not assigned during call to "C:\Users\Ali<br>Kozlovsky\Desktop\amica matlab\runamica12.m>runamica12".<br></span><br>Then I received a pop-up window titled 'Bad Input' with the following message:<br><br>cannot create file in C:\Ali Kozlovsky\Desktop\amica matlab\amicaouttmp\<br><br>I am running Windows 7 64-bits and MATLAB 7.12.0 (R2011a).<br>I have saved the runamica12.m file in a folder called 'amica matlab' on my Desktop.  This folder is in my MATLAB's set path.<br><br>Any help will be very appreciated.  Thanks!<br><br>Alisha Kozlovsky<br>Simon Fraser University<br><br><o:p></o:p></p><div class=MsoNormal align=center style='text-align:center'><hr size=1 width="99%" noshade style='color:#909090' align=center></div><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse'><tr><td style='padding:0in 11.25pt 0in 6.0pt'><p class=MsoNormal><a href="http://www.avast.com/"><span style='text-decoration:none'><img border=0 id="_x0000_i1026" src="http://static.avast.com/emails/avast-mail-stamp.png"></span></a><o:p></o:p></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p><span style='font-family:"Calibri","sans-serif";color:#3D4D5A'>This email is free from viruses and malware because <a href="http://www.avast.com/">avast! Antivirus</a> protection is active. <o:p></o:p></span></p></td></tr></table><p class=MsoNormal><o:p> </o:p></p></div></body></html>