djamesbarker / pMAT

Fiber Photometry Modular Analysis Tool Suite
GNU General Public License v3.0
34 stars 10 forks source link

fieldnames error #13

Open neuronoeker opened 1 year ago

neuronoeker commented 1 year ago

Hey Barker Lab,

I am very grateful for this pipeline. It was working for me very well previously. However, I now am encountering a problem. I am getting an error when calling "fieldnames." I have attached the error below. Please let me know if there is a fix for this.

Best, Jacob

Error using fieldnames Invalid input argument of type 'double'. Input must be a structure or a Java or COM object.

Error in pmat>DataUploadButton_Callback (line 256) handles.fields = fieldnames(handles.data.epocs);

Error in gui_mainfcn (line 95) feval(varargin{:});

Error in pmat (line 49) gui_mainfcn(gui_State, varargin{:});

Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)pmat('DataUploadButton_Callback',hObject,eventdata,guidata(hObject))

Error while evaluating UIControl Callback.