<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p></p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">Hello,<br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">since one week I have a problem with loading .xdf - files in EEGLAB. Script, manual loading with 'Import/EEGLAB funktions and extensions', or 'import with MOBILAB', everything shows
 the same error messages.<br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">It should be connected to the last update, because the day before it worked well and I didn't change anything. <br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"><br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">used script line:<br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">EEG = pop_loadxdf([pathsSubjects{subjectIndex} rawData{dataIndex}], 'streamtype', 'EEG', 'exclude_markerstreams', {});<br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"><br>
</p>
ERROR message:<br style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<div>Undefined function 'mad' for input arguments of type 'double'.</div>
<div><br>
</div>
<div>Error in load_xdf (line 369)</div>
<div>                time_glitch = (time_diff < 0 | (((time_diff - median(time_diff)) ./ mad(time_diff,1)) ></div>
<div>                opts.ClockResetThresholdStds & ...</div>
<div><br>
</div>
<div>Error in eeg_load_xdf (line 32)</div>
<div>streams = load_xdf(filename);</div>
<div><br>
</div>
<div>Error in pop_loadxdf (line 110)</div>
<div>    EEG = eeg_load_xdf(fullFileName, varargin{:});<br>
</div>
</div>
<p>​<br>
</p>
<p>thanks a lot!<br>
</p>
<p>regards, Anna<br>
</p>
</body>
</html>