<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Dan,
<div class=""><br class="">
</div>
<div class="">I see that you asked the same question on the EEGLAB github. If the usual suspect toolboxes cannot read the specific file format, there are 3 options:</div>
<div class=""><br class="">
</div>
<div class="">1 you need to write an importer yourself, based on a description of the file format. If a description of the file format is not available online, you need to contact the company for this.</div>
<div class="">2 you need to ask the company to share (if existing) code to import your data into matlab.</div>
<div class="">3 you need to work with a fileformat that fieldtrip/eeglab/… can work with.</div>
<div class=""><br class="">
</div>
<div class="">Best wishes,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 2 May 2021, at 11:41, Dan Beniamini <<a href="mailto:dan.beniamini@gmail.com" class="">dan.beniamini@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Hi all,<br class="">
when I try to use the code:<br class="">
<br class="">
cfg=[];</div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
cfg.dataset= 'EG3_X_test_vis_sc.dsmp';</div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
data=ft_preprocessing(cfg)</div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
I get the error: unsupported header format "unknown".<br class="">
when I use ft_read_header I get:<br class="">
<br class="">
Error using ft_notification (line 345)</div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
unsupported header format "unknown"</div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Error in ft_error (line 39)</div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
ft_notification(varargin{:});</div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Error in ft_read_header (line 2767)</div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
ft_error('unsupported header format "%s"', headerformat);</div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
any ideas?<br class="">
the data is in<span class="Apple-converted-space"> </span><br class="">
<a href="https://urldefense.com/v3/__https://www.dropbox.com/sh/k7vy5fcf554hf2h/AAAcxpnwr-G5FKs_wfUr3Ayka/raw_data/visual*20detection/EG3_X_test_vis_sc.dsmp?dl=0&subfolder_nav_tracking=1__;JQ!!HJOPV4FYYWzcc1jazlU!rB738EvXJ5WZGIH3w3STo2Ep5DxJQ3UsRHRoRR0vIcKM1bBS7HDkTqHmFn1sA6OYwFdSMLeJ$" style="color: blue; text-decoration: underline;" class="">https://www.dropbox.com/sh/k7vy5fcf554hf2h/AAAcxpnwr-G5FKs_wfUr3Ayka/raw_data/visual%20detection/EG3_X_test_vis_sc.dsmp?dl=0&subfolder_nav_tracking=1</a></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<br class="">
Thanks!<br class="">
<br class="">
</div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Sent from<span class="Apple-converted-space"> </span><a href="https://urldefense.com/v3/__https://go.microsoft.com/fwlink/?LinkId=550986__;!!HJOPV4FYYWzcc1jazlU!rB738EvXJ5WZGIH3w3STo2Ep5DxJQ3UsRHRoRR0vIcKM1bBS7HDkTqHmFn1sA6OYwMTg8uhB$" style="color: blue; text-decoration: underline;" class="">Mail</a><span class="Apple-converted-space"> </span>for
Windows 10</div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
</div>
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">fieldtrip
mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" style="color: blue; text-decoration: underline; font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!rB738EvXJ5WZGIH3w3STo2Ep5DxJQ3UsRHRoRR0vIcKM1bBS7HDkTqHmFn1sA6OYwHS_KnFY$" style="color: blue; text-decoration: underline; font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!rB738EvXJ5WZGIH3w3STo2Ep5DxJQ3UsRHRoRR0vIcKM1bBS7HDkTqHmFn1sA6OYwHS_KnFY$</a><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""></span></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>