Home Forums Software Development EyeX gaze data stream in Matlab Reply To: EyeX gaze data stream in Matlab


Hi all,

First of all, I’d like to thank Pete for the code posted, I’ve been working on it in order to get Matlab to stream a live eye gaze data, however, I have encountered one main problem: the code compiles fine, but the connection with the eye tracker remains in the state “TRYINGTOCONNECT”.
I’ve tried to modify the functions in the code by comparing it with the default minimalgazedatastream.c file, but have remained unsuccessful.
I think that somehow the problem lies in the MEX function and how it relates to Matlab.
I am running the code on a Lenovo laptop and Matlab is using Visual Studio 2013 as a C compiler.
Furthermore, I am using the x64 Tobii.EyeX.Client.dll and Tobii.EyeX.Client.lib files to run the code.

Thank you for your help,