Hello,
I would like to use the SpectralTrainFig app to perform EEG spectral analysis. I have successfully installed the app into my matlab.
but when I try to analyze the sample 450002.edf by clicking the button "go (all)"
the following error messages are shown on the console:
//Spectral Analysis
Getting matched EDF/XML files
XML File names for which an EDF file could not be found 450002.EDF.XML Number of XML files for which a matched EDF file could not be found: 1
XML File names for which an EDF file could not be found 450002.EDF.XML Number of XML files for which a matched EDF file could not be found: 1
Checking EDFs for required signals Loading file information and setting up analysis variables
Error in welchparse (line 32) [L,noverlap,win] = segment_info(M,win,noverlap);
Error in welch (line 40) welchparse(x,esttype,varargin{:});
Error in pwelch (line 158) [varargout{1:nargout}] = welch(x,esttype,varargin{:});
Error in SpectralTrainClass/computeSpectralTrain (line 928)
Error in SpectralTrainFig>pb_fig_go_Callback (line 304)
Error in gui_mainfcn (line 95) feval(varargin{:});
Error in SpectralTrainFig (line 89)
Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)SpectralTrainFig('pb_fig_go_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback//
How can the problem be solved?
Many thanks!!
Jun
Jun,
Can you post the URL of the instructions you were following? Thanks!
Hi,
I followed the instructions on this page: https://github.com/DennisDean/SpectralTrainFig/blob/master/QuickStartNoSourceCode.md
Thanks!