fiff_read_events.m can't load events?

Dear all,

I try to read events from MNE-sample-data. The events can be loaded in
MNE-Python version. However, with the same data set the error message
"Could not find events" was printed in Matlab version. Below is the code:
fname = 'sample_audvis_filt-0-40_raw.fif'; [events, mappings] =
fiff_read_events(fname);

Both line 38 and 52 in fiff_read_events.m, it seems that the FIFF
predefined constants are not match to the data?

Any suggestion would be appreciated!
Best,
Foucault
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20160109/ab693293/attachment.html

see :

https://github.com/mne-tools/mne-matlab/issues/11

A