# fiff\_read\_events.m can't load events?

**URL:** <https://mne.discourse.group/t/fiff-read-events-m-cant-load-events/947>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [January 9, 2016, 11:49am UTC](https://mne.discourse.group/t/fiff-read-events-m-cant-load-events/947 "2016-01-09T11:49:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [January 9, 2016, 11:49am UTC](https://mne.discourse.group/t/fiff-read-events-m-cant-load-events/947/1 "2016-01-09T11:49:08Z")

</div>

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](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20160109/ab693293/attachment.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [January 10, 2016, 8:43am UTC](https://mne.discourse.group/t/fiff-read-events-m-cant-load-events/947/2 "2016-01-10T08:43:32Z")

</div>

see :

[https://github.com/mne-tools/mne-matlab/issues/11](https://github.com/mne-tools/mne-matlab/issues/11)

A
