Hi!
I was trying to import neuroschan epoched files but with almost files I got this error message:
** Error: Line 313: neuroscan_read_header (line 313)
** Unknown file format.
**
** Call stack:
** >neuroscan_read_header.m at 313
** >in_fopen_eeg.m at 28
** >in_fopen.m at 116
** >import_raw.m at 126
** >bst_call.m at 28
** >tree_callbacks.m>@(h,ev)bst_call(@import_raw,[],[],iSubject) at 631
**
I tried with several files, finally, one of these files could be imported, but without EEG electrode names, a second file could also be imported but again, the channel names was lost.
Thanks in advance!
Could you please send us an example file? (as small as possible)
Upload it somewhere, then post the download link here
Thanks
Francois
I could import the file you sent with the menu "Import MEG/EEG" and the file format "EEG: Neuroscan".
Make sure you are using an up-do-date version of Brainstorm and that you don't have any conflicting toolbox in your Matlab path that could shadow some of the standard Matlab functions.
As I tested this, I fixed a bug that prevented to import this file AND doing a baseline correction at the same time : https://github.com/brainstorm-tools/brainstorm3/commit/43cf014cb43eb22c170d6abb5d556b0714767bdd
Update Brainstorm to get this last fix.
Thanks!
well, actually I was able to import that file too, but the electrode locations was wrong, channels names was E01, E02, instead of true names (Fp1, Fp2, etc)
Indeed, the label names have never been read by the import function while they are available in the file, and nobody ever complained about it...
I fixed it: https://github.com/brainstorm-tools/brainstorm3/commit/bfa3e65c39557c4ae88cc9ce4bd5c8fd3b43127e
Please update Brainstorm and try again.
Thanks for reporting the issue
Really Thank you for your support! 
PS: The file does not contain real 3D positions for the electrodes, but only a 2D layout used in the neuroscan software for display.
To get correct 3D electrodes positions: right-click on the channel file > Add EEG positions > ICBM152 > Neuroscan > pick your cap name in the list (or a cap with a higher number of electrodes and similar layout)
Thanks, I use generic positions 
But I still have problems importing some files, with the same error I posted here, I'm uploading the file and posting here as soon as I can.
Thanks in advance
Here is an example of Neuroscan EEG epoched files that I can not import:
I got the same message:
** Error: Line 313: neuroscan_read_header (line 313)
** Unknown file format.
**
** Call stack:
** >neuroscan_read_header.m at 313
** >in_fopen_eeg.m at 28
** >in_fopen.m at 116
** >import_raw.m at 126
** >bst_call.m at 28
** >tree_callbacks.m>@(h,ev)bst_call(@import_raw,[],[],iSubject) at 631
**
Thanks
Hi!
Sorry for the delay
It Worked!!!
Now I'm able to import these files,
but similar error appears when I try to import the some averaged (ERP) neuroscan files, I attach here the avg files and I post the error:
:
The file is a single electrode CZ FRN ERP:
the file was ment to build a grand average file, but actually is just a one subject record
Note: The averaged files was made in neuroscan, not in bS, but when I try to import them it crashes with this message:
** Error: Line 58: Index exceeds matrix dimensions.
**
** Call stack:
** >in_fopen_avg.m at 58
** >in_fopen.m at 118
** >in_data.m at 100
** >import_data.m at 200
** >bst_call.m at 28
** >tree_callbacks.m>@(h,ev)bst_call(@import_data,[],[],[],iStudy,iSubject) at 633
**
Wow!
That was quick!
Thanks!