MATLAB getEvents function is slow

Najib Majaj's Avatar

Najib Majaj

27 Jun, 2018 05:18 PM

This comment was split from the discussion: Glew.h and other shaders

The matlab getEvents funcition is rather slow when trying to import large
files and signals like eye position that are updated often.
Is there a faster way to get around that problem?


  1. Support Staff 1 Posted by Christopher Sta... on 27 Jun, 2018 05:22 PM

    Christopher Stawarz's Avatar

    Hi Najib,

    No, there isn't any way to speed up getEvents. Coming up with a new data file format with better read performance is on my to-do list, and I hope to get it done for the next MWorks release.


  2. 2 Posted by Najib Majaj on 28 Jun, 2018 04:51 PM

    Najib Majaj's Avatar

    Is the python version faster? or is the problem the format?


  3. Support Staff 3 Posted by Christopher Sta... on 29 Jun, 2018 02:49 PM

    Christopher Stawarz's Avatar

    The Python and MATLAB tools use the same file-reading code under the hood. The format is the problem.


  4. Christopher Stawarz closed this discussion on 02 Jul, 2018 02:16 PM.

  5. Christopher Stawarz closed this discussion on 06 Feb, 2019 08:13 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac