help > RE: Welcome to Help
Sep 22, 2015  12:09 PM | harleen chhabra - National Institute of Mental Health and Neurosciences (NIMHANS)
RE: Welcome to Help
Hello,
I am a PhD scholar from India. I am using NirScout for fNIRS data collection. I tried analyzing one of the data sets but got an error while performing GLM-fNIRS for the 1st level analysis step "specify conditions using a file" (irrespective of choosing Yes or No) . I tried 3 different versions of matlab (2013b, 2014b and 2015b) but the same error persisted. Also i tried analyzing the sample data that is provided by the software but still the error occurred. 
I am copying the error messages below. It will be very helpful if you could help me solve this problem.

% Error while "specify conditions using a file" selected as No
Error using uicontrol
While setting the 'Max' property of UIControl:
Value must be numeric or logical.
Error in spm_input (line 1286)
h = uicontrol(Finter,'Style','Pushbutton',...
Error in spm_fnirs_get_ons_ui (line 56)
v = spm_input('number of conditions/trials',2,'w1');
Error in spm_fnirs_specify1st_ui (line 107)
U = spm_fnirs_get_ons_ui;
Error in spm_fnirs>push_specify_Callback (line 75)
spm_fnirs_specify1st_ui;
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in spm_fnirs (line 25)
gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)spm_fnirs('push_specify_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback

% Error while "specify conditions using a file" selected as Yes and .mat loading the generated with spm_fnirs
Undefined variable durations.
Error in spm_fnirs_specify1st_ui (line 104)
U(i).dur = durations{1,i}(:);
Error in spm_fnirs>push_specify_Callback (line 75)
spm_fnirs_specify1st_ui;
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in spm_fnirs (line 25)
gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)spm_fnirs('push_specify_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback

Regards,
Harleen Chhabra
PhD scholar,
NIMHANS, India

Threaded View

TitleAuthorDate
Sungho Tak Sep 11, 2015
Geoff Green Oct 11, 2017
fakun chen Dec 22, 2018
harleen chhabra Oct 8, 2015
Guilherme A. Zimeo Morais Sep 24, 2015
Sungho Tak Sep 28, 2015
RE: Welcome to Help
harleen chhabra Sep 22, 2015
Guilherme A. Zimeo Morais Sep 22, 2015
harleen chhabra Sep 22, 2015
Sungho Tak Sep 23, 2015
harleen chhabra Sep 26, 2015
Sungho Tak Sep 28, 2015