I’m trying to plot the HRF, but after running the processing stream, the HRF button remains greyed out and I’m unable to click on it.
Attached is the processing stream and screenshot. I’ve also attached the MATLAB message below.
!! ***** START Calculating derived data at 10:13:18, May 12, 2026 with the following processing stream:
Group processing stream:
[dcAvg, nTrials] = hmrG_SubjAvg(dcAvgSubjs, nTrialsSubjs);
[dcAvgStd, dcAvgStdErr] = hmrG_SubjAvgStd(dcAvgSubjs);
Subject processing stream:
[dcAvg, nTrials] = hmrS_SessAvg(dcAvgSess, mlActSess, nTrialsSess);
[dcAvgStd, dcAvgStdErr] = hmrS_SessAvgStd2(dcAvgStdSess, nTrialsSess);
Session processing stream:
[dcAvg, nTrials] = hmrE_RunAvg(dcAvgRuns, mlActRuns, nTrialsRuns);
[dcAvgStd, dcAvgStdErr] = hmrE_RunAvgStd2(dcAvgStdRuns, nTrialsRuns);
Run processing stream:
dod = hmrR_Intensity2OD(data);
[dod, tInc, svs, nSV, tInc0] = hmrR_MotionCorrectPCArecurse(dod, probe, mlActMan, mlActAuto, tIncMan, 0.5, 1.0, 20.0, 5.00, 0.97, 5, 0);
[tIncAuto, tIncAutoCh] = hmrR_MotionArtifactByChannel(dod, probe, mlActMan, mlActAuto, tIncMan, 0.5, 1.0, 20.0, 5.00);
dod = hmrR_MotionCorrectSplineSG(dod, mlActAuto, 0.99, 10, 1);
dod = hmrR_MotionCorrectWavelet(dod, mlActMan, mlActAuto, 1.50, 0);
[tIncAuto, tIncAutoCh] = hmrR_MotionArtifactByChannel(dod, probe, mlActMan, mlActAuto, tIncMan, 0.5, 1.0, 20.0, 5.00);
dod = hmrR_BandpassFilt(dod, 0.000, 0.500);
dc = hmrR_OD2Conc(dod, probe, [6.0 6.0]);
[dcAvg, dcAvgStd, nTrials, dcNew, dcResid, dcSum2, beta, R, hmrstats] = hmrR_GLM(dc, stim, probe, mlActAuto, Aaux, tIncAuto, rcMap, [-2.0 60.0], 1, 1, [1.0 1.0], 15.0, 1, 3, 0);
!! ***** END Calculating derived data at 10:13:18, May 12, 2026 with the following processing stream:
Processing iGroup=1, iSubj=1, iSess=1, iRun=1
Design matrix is VERY poorly scaled...(RCond=0.000000e+00), cannot perform computation
Saving derived data output: C:/Users/cgune/OneDrive/Desktop/fNIRS data20250519/Healthy/H02/derivatives/homer/20250429_H02.mat
Saving processing stream function call chain in C:/Users/cgune/OneDrive/Desktop/fNIRS data20250519/Healthy/H02/derivatives/homer/20250429_H02_processing.json:
Saving group tree processing stream input in C:/Users/cgune/OneDrive/Desktop/fNIRS data20250519/Healthy/H02/derivatives/homer/groupResults.mat
Auto-saving processing results ...
Completed saving processing results for all groups in 3.038 seconds.
Displaying time: [96552x1], data: [96552x92], channels []
Finished calculating, saving and displaying proc stream in 74.7 seconds
Displaying time: [96552x1], data: [96552x138], channels []
Displaying time: [96552x1], data: [96552x138], channels []
Displaying time: [96552x1], data: [96552x138], channels [1 7]




