We've updated our privacy policy.

Err msg when using SpectralTrainFig

5 posts
Was this reply useful? Learn more...
 
[-]
junaun +0 points · 3 months ago

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

  1. Loading data from: 450002.EDF, 14-Dec-2018 17:29:45 Unit conversion from mV to uV Error using welchparse>segment_info (line 188) The length of the segments cannot be greater than the length of the input signal.

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

166 posts
Was this reply useful? Learn more...
 
[-]
mrueschman +0 points · 3 months ago

Jun,

Can you post the URL of the instructions you were following? Thanks!

5 posts
Was this reply useful? Learn more...
 
[-]
junaun +0 points · 3 months ago
Topic is locked. Start a new topic