Do you speak Matlab ? GazeAlyze toolbox problem [Help]
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
Jan
2013-10-9
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.
回答(1 个)
Dan
2016-4-24
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!