<div dir="ltr">Dear all,<div><br></div><div>I loaded my eeg data from *.edf format files. After adding a duplicate channel, I want to save the raw data back a *.edf format file: </div><div><br></div><div>raw.save(&#39;sample_edf.edf&#39;,overwrite=True)<br></div><div><br></div><div>The file seems to be much bigger than the original one, from 460,000 KB to 860,000 KB. </div><div><br></div><div>Also, when I try to import it to Matlab EEGLAB, it says: </div><div>EEGLAB error in function getfiletype() at line 1111:</div><div><br></div><div>Operands to be || and &amp;&amp; operators must be convertible to logical scalar values. </div><div><br></div><div>And then I try to open the *.edf file in EDFbrowser, and return error:</div><div>1th character of version field is not a valid 7-bit ASCII character. File is not a valid EDF or BDF file. </div><div><br></div><div>I try to just read the *.edf file to python and save it to another *.edf file, same errors occur. </div><div><br></div><div>QUESTION:</div><div>Is there a format of file I could export my raw data so that it is readable in Matlab EEGLAB? Or is there a way to save the raw data to a readable *.edf file?</div><div><br></div><div>Thank you very much for your time,</div><div><br></div><div>Sincerely,</div><div><br></div><div>Ning</div></div>