Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

SMI eye tracking with Matlab

Hi everyone,

looking for a solution to my frustrating Matlab-SMI battle Iv'e come along this website. which looks cool! good going.
I'm a cognitive phd student, trying to make my matlab experiment (psychtoolbox) work with SMI eye-tracker.
has anyone done that perhaps?
there's an SMI SDK, and all example scripts begins with the command

loadlibrary('iViewXAPI.dll', 'iViewXAPI.h');

this creates a long error on my matlab (pasted down here) which I do not understand. admittidely, I don't understand a lot of what's supposed to happen in this line, so the error could be very small and idiotic. but I'm lost. if anyone has experience with this kind of thing (Matlab compiling external C scripts) and has any tips I would be very very grateful.
Thanks,
Amir

Error using loadlibrary
Building iViewXAPI_thunk_pcwin64 failed. Compiler output is:
cl -I"C:\Program Files\MATLAB\R2015b\extern\include" /W3 /nologo -I"C:\Program Files\MATLAB\R2015b\extern\include"
-I"C:\Program Files\MATLAB\R2015b\simulink\include" /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE
/D_SECURE_SCL=0 -I"C:\Program Files (x86)\SMI\iView X SDK" -I"C:\Program Files (x86)\SMI\iView X SDK\include"
"iViewXAPI_thunk_pcwin64.c" -LD -Fe"iViewXAPI_thunk_pcwin64.dll"
iViewXAPI_thunk_pcwin64.c
C:\Program Files (x86)\SMI\iView X SDK\include\iViewXAPI.h(239) : error C2061: syntax error : identifier 'EyeDataStruct'
C:\Program Files (x86)\SMI\iView X SDK\include\iViewXAPI.h(240) : error C2061: syntax error : identifier 'rightEye'
C:\Program Files (x86)\SMI\iView X SDK\include\iViewXAPI.h(240) : error C2059: syntax error : ';'
C:\Program Files (x86)\SMI\iView X SDK\include\iViewXAPI.h(242) : error C2059: syntax error : '}'
C:\Program Files (x86)\SMI\iView X SDK\include\iViewXAPI.h(263) : error C2061: syntax error : identifier 'EyeDataStruct'
C:\Program Files (x86)\SMI\iView X SDK\include\iViewXAPI.h(264) : error C2061: syntax error : identifier 'rightEye'
C:\Program Files (x86)\SMI\iView X SDK\include\iViewXAPI.h(264) : error C2059: syntax error : ';'
C:\Program Files (x86)\SMI\iView X SDK\include\iViewXAPI.h(266) : error C2059: syntax error : '}'
C:\Program Files (x86)\SMI\iView X SDK\include\iViewXAPI.h(506) : error C2071: 'ImageStruct' : illegal storage class
C:\Program Files (x86)\SMI\iView X SDK\include\iViewXAPI.h(506) : error C2032: 'ImageStruct' : function cannot be member
of struct 'ImageStruct'

Comments

  • Hi Amir,

    I'm not a Matlab user myself, but the error message indicates that the header file is simply not of the type that Matlab expects. My first guess is that this is a version conflict; for example, which versions of Matlab are supported? Have you contacted the SMI folk?

    Cheers,
    Sebastiaan

  • Thanks Sebastian, you were right.
    It's taken a while.. but after talking to SMI folk and their technical assistance, apparently the SMI SDK supports matlab 32-bit only, and that was what caused the problem.

    Thanks again

  • Hello everyone.

    For those who are still using SMI eye trackers / Software, im happy to pass by and let you know that we at EyeLogic have created an eye tracker that is fully compatible with SMI.

    Please send me an email in case you need more informations on that, and on our upcoming new hardware and software at fabio.pinto@eyelogicsolutions.com


    Thank you,

    Fabio

    https://www.eyelogicsolutions.com/

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games