<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><style>
<!--
 /* Font Definitions */
@font-face
        {font-family:"MS ??";
        panose-1:0 0 0 0 0 0 0 0 0 0;
        mso-font-charset:128;
        mso-generic-font-family:roman;
        mso-font-format:other;
        mso-font-pitch:fixed;
        mso-font-signature:1 134676480 16 0 131072 0;}
@font-face
        {font-family:"MS ??";
        panose-1:0 0 0 0 0 0 0 0 0 0;
        mso-font-charset:128;
        mso-generic-font-family:roman;
        mso-font-format:other;
        mso-font-pitch:fixed;
        mso-font-signature:1 134676480 16 0 131072 0;}
@font-face
        {font-family:Cambria;
        panose-1:2 4 5 3 5 4 6 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:-536870145 1073743103 0 0 415 0;}
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-unhide:no;
        mso-style-qformat:yes;
        mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:Cambria;
        mso-ascii-font-family:Cambria;
        mso-ascii-theme-font:minor-latin;
        mso-fareast-font-family:"MS ??";
        mso-fareast-theme-font:minor-fareast;
        mso-hansi-font-family:Cambria;
        mso-hansi-theme-font:minor-latin;
        mso-bidi-font-family:"Times New Roman";
        mso-bidi-theme-font:minor-bidi;
        mso-ansi-language:EN-GB;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-default-props:yes;
        font-family:Cambria;
        mso-ascii-font-family:Cambria;
        mso-ascii-theme-font:minor-latin;
        mso-fareast-font-family:"MS ??";
        mso-fareast-theme-font:minor-fareast;
        mso-hansi-font-family:Cambria;
        mso-hansi-theme-font:minor-latin;
        mso-bidi-font-family:"Times New Roman";
        mso-bidi-theme-font:minor-bidi;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;
        mso-header-margin:36.0pt;
        mso-footer-margin:36.0pt;
        mso-paper-source:0;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<p class="MsoNormal"><span lang="EN-GB">Dear EEGLAB Users, <br>
</span></p>
<p class="MsoNormal"><span lang="EN-GB"><br>
</span></p>
<p class="MsoNormal"><span lang="EN-GB">I have a problem with pop_runica. After running the ICA, EEG.icaact is still empty.<span style="mso-spacerun:yes"> 
</span>I receive an error warning ("inconsistent number of trials in raw data structure") when I try to run a function that tries to use data from EEG.icaact. We tried to solve the problem by adding the following loop:</span></p>
<p class="MsoNormal"><span lang="EN-GB">for i=1:EEG.trials</span></p>
<p class="MsoNormal"><span lang="EN-GB"><span style="mso-spacerun:yes">   </span>
EEG.icaact(:,:,i)=(EEG.icaweights*EEG.icasphere)*EEG.data(EEG.icachansind,:,i);</span></p>
<p class="MsoNormal"><span lang="EN-GB">end;</span></p>
<p class="MsoNormal"><span lang="EN-GB">After that EEG.icaact is filled with the appropriate data. However, when running another function or eeg_checkset the program empties EEG.icaact again and gives the same error warning as described above.
<br>
</span></p>
<p class="MsoNormal"><span lang="EN-GB"><br>
</span></p>
<p class="MsoNormal"><span lang="EN-GB">Kind regards,</span></p>
<span style="font-size:12.0pt;font-family:Cambria;mso-ascii-theme-font:
minor-latin;mso-fareast-font-family:"MS 明朝";mso-fareast-theme-font:minor-fareast;
mso-hansi-theme-font:minor-latin;mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-GB;mso-fareast-language:
DE;mso-bidi-language:AR-SA" lang="EN-GB">Tina</span>
</div>
</body>
</html>