MATLAB Answers

Do you speak Matlab ? GazeAlyze toolbox problem [Help]

2 views (last 30 days)
Anas
Anas on 1 Oct 2013
Answered: Dan on 24 Apr 2016
Hello, I am a food engineeRing student, forced to use Matlab for an eye tracking study I'm performing. Unfortunately, I am not familiar at all with the Matlab language, and I have a few trouble doing my work. My purpose is to plot heatmaps/fixation maps from eye tracking data, but I have been trying a lot of solutions that ended up not working : OGAMA, Viewpoint Toolbox, Psychtoolbox, iMap. I believe it's because of my lack of knowledge of the Matlab environment. However, I can launch one of these toolboxes : GazeAlyze (<http://gazealyze.sourceforge.net/)>, but I get the same error message even if I tried it on R2009a, R2012a & R2013a versions. Here is it:
_Reference to non-existent field 'codes'.
Error in GA_controler (line 74)
eval(['codes = sort(unique([' eye.cond.start.codes ']));']);
Error in GA_gui_main>Menu3_2_Run_Callback (line 857)
GA_controler('import',handles.data.eye)
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in GA_gui_main (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
@(hObject,eventdata)GA_gui_main('Menu3_2_Run_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating uimenu Callback "
Un clic sur "generate heatmaps" dans gazealyze renvoie le message
suivant dans le console de Matlab :
" Reference to non-existent field 'subjects'.
Error in GA_heatmap (line 80)
if ~isempty(heat.subjects)
Error in GA_controler (line 588)
GA_heatmap();
Error in GA_gui_main>Menu11_4_HM_run_Callback (line 1161)
GA_controler('heatmaps',handles.data.eye)
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in GA_gui_main (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
@(hObject,eventdata)GA_gui_main('Menu11_4_HM_run_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating uimenu Callback
_
I hope you could help me with the interpretation of this message.
Thank you.
Best regards.

  4 Comments

Show 1 older comment
Anas
Anas on 9 Oct 2013
lol that's rude ! how would you make it better then ? or at least, make it work :)
thanks !
Anas
Anas on 9 Oct 2013
Here is a link for more details about the issue, if that ever interests you : GazeAlyze forum post
have a good day !
Anas
Jan
Jan on 9 Oct 2013
You can replace:
eval(['codes = sort(unique([' eye.cond.start.codes ']));']);
by:
codes = sort(unique([XYZ]));
Now XYZ depends on the contents of eye.cond.start.codes. It is a general problem of such EVALing, that the purpose of the code does is not clear anymore. Therefore it is recommended to avoid EVAL in every case.

Sign in to comment.

Answers (1)

Dan
Dan on 24 Apr 2016
I assume this is not longer a concern to this fella - but I solved a similar problem for myself and I think someone someday will appreciate me posting about it.
using ogama - 1)after you run your trials go to the statistics module ( a picture of a graph with a red line through it at the top ) . 2) then select what ever data you are interested in ( click the check boxes ). 3)and finally click on export statistics table to file ( its an icon at the second to top bar ).
Then you can read the table into matlab easily and go wild from there . good luck :)

  0 Comments

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!