nirs_kit中个体水平分析出错

Attempted to access R(1); index out of bounds because numel(R)=0.
Error in glmfit (line 242)
rankx = sum(abs(diag(R)) > abs(R(1))*max(n,ncolx)*eps(class(R)));
Error in nirs_firstlevel_analysis (line 137)
beta_all(:,ch_id)=glmfit(glmpredictors,nirsdata.oxyData(:,ch_id));
Error in NIRS_Task_Individual_Analysis>run_Callback (line 528)
nirs_firstlevel_analysis(handles);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in NIRS_Task_Individual_Analysis (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
@(hObject,eventdata)NIRS_Task_Individual_Analysis('run_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback

2 Comments

Gojo
Gojo on 17 Oct 2024
Could you share your code to reproduce the issue?
家雨
家雨 on 17 Oct 2024
好的,我截图了错误的地方。

Sign in to comment.

Categories

Find more on Physics in Help Center and File Exchange

Tags

Asked:

on 17 Oct 2024

Commented:

on 17 Oct 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!