<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hello,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
I am getting the following error message attempting to use runica: Output argument "sphere" (and maybe others) not assigned during call to "runica"</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
This is occurring in a script which was working a few weeks ago when I ran it last. We are running fieldtrip version 20211008 on Matlab 2019b. As far as I know, nothing has been updated since I last used the script. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
Currently, these are the fields in the cfg variable:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
length = 4</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
overlap = 0</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
method = 'runica'</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
runica = 1x1 struct (cfg.runica.pca =15)</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
I've also used length = 1.75 and pad = 4 and had the same issue. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
I ran which runica and got the following: /usr/local/EEGLAB2022/eeglab2022.1/functions/sigprocfunc/runica.m</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
I understand that this is an externally called function, but I am still hoping to get some clarity on what might be wrong. Is there a specific field I should be adding that I am not? And what is the possible reason for the script to no longer want to run?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
Thanks very much for your help!</div>
<div class="elementToProof">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div style=""><font face="Calibri, sans-serif, serif, EmojiFont" style="color: rgb(33, 33, 33);"><span style="font-size:11pt; font-family:Cambria,Georgia,serif">Sarah Margerison, DPT</span></font></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 11pt;"></span>
<p style="text-align: start; font-size: 11pt; font-family: Calibri, sans-serif; margin: 0px; color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);">
<span style="font-family:Cambria,Georgia,serif; font-size:11pt">Graduate Student</span><br>
<span style="font-family: Cambria, Georgia, serif; font-size: 11pt; color: rgb(33, 33, 33);">University of Maryland School of Medicine</span><br>
</p>
<span style="font-size: 11pt;"></span>
<div style="text-align: start; font-size: 11pt; font-family: Calibri, sans-serif; margin: 0px; color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);">
<span style="font-family:Cambria,Georgia,serif; font-size:11pt">Dept. of Physical Therapy & Rehabilitation Science</span><br>
<span style="margin: 0px; font-size: 11pt; font-family: Cambria, Georgia, serif; color: rgb(32, 31, 30);">Univer</span><span style="margin: 0px; font-size: 11pt; font-family: Cambria, Georgia, serif; color: rgb(32, 31, 30);">sity of Maryland, School of Dentistry</span><br>
<span style="margin: 0px; font-size: 11pt; font-family: Cambria, Georgia, serif; color: rgb(32, 31, 30);">Dept. of Neural and Pain Sciences</span><br style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; color: rgb(32, 31, 30);">
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; margin-top: 0px; margin-bottom: 0px; color: rgb(32, 31, 30);">
<span style="font-size: 11pt;"></span><span style="margin:0px; font-family:Cambria,Georgia,serif; font-size:11pt">650 W. Baltimore Street, Room 8404</span></p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; margin-top: 0px; margin-bottom: 0px; color: rgb(32, 31, 30);">
<span style="font-size: 11pt;"></span><span style="margin:0px; font-family:Cambria,Georgia,serif; font-size:11pt">Baltimore, MD 21201</span></p>
<span style="font-family: Cambria, Georgia, serif; font-size: 11pt;">smargerison@som.umaryland.edu</span></div>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
</div>
</div>
</div>
</body>
</html>