Do you speak Matlab ? GazeAlyze toolbox problem [Help]

4 visualizzazioni (ultimi 30 giorni)
Anas
Anas il 1 Ott 2013
Risposto: Dan il 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 Commenti
Anas
Anas il 9 Ott 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 il 9 Ott 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.

Accedi per commentare.

Risposte (1)

Dan
Dan il 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 :)

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by