Importing Data from Neuralynx

Natalia Grion grion at SISSA.IT
Mon Jan 28 13:34:14 CET 2008

Hi All,
I want to start with Fieldtrip analysis on animal data recorded with
Neuralynx. I have LFP (*.ncs files), spikes (*.nts), and event files
(*.nev). So, I have the three wrapper functions; which call these
read_xxx functions that detect the file format and subsequently call the
appropriate low-level function for each file format.
In a first attempt to import data I ran:
hdr = read_fcdc_header(file) with a *.ncs file
but I found this error:
??? Undefined command/function 'read_neuralynx_ncs'.
Error in ==> fieldtrip-20070820\private\read_header at 472
    ncs = read_neuralynx_ncs(filename, 1, 0);
Error in ==> read_fcdc_header at 37
[hdr] = read_header(varargin{:});

Do you have any explanation for this error?
Another question:  Are *.nst  (spike files) recognized?

Thank you all!!

The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also and

More information about the fieldtrip mailing list