NiiStat icon indicating copy to clipboard operation
NiiStat copied to clipboard

GUI and script not working

Open Manuel-debugger opened this issue 5 years ago • 0 comments

I just tried running the NiiStat GUI scripts via MATLAB (2020a) on my MacBook, and get the following error message for the NiiStat script:

Error using NiiStat (line 85) Unable to find Excel file named /home/research/Desktop/PACMAN_MASTER/MRI_Data/PacManNiiStat_Paper_3.xlsx

Here's line 85 of the code:

if (strcmpi('ver',xlsname)), return; end; %nii_stat('ver') cause software to report version and quit if exist(xlsname,'file') ~= 2 error('Unable to find Excel file named %s\n',xlsname); end

It looks like the script is looking for an Excel file, and halts the script once the PacManNiiStat_Paper_3.xlsx Excel file isn't found.

I see someone else had this issue last year: https://github.com/neurolabusc/NiiStat/issues/7#issue-439364146 I tried their suggested solution of removing all the spm12 subfolders from the path but it hasn't worked.

I appreciate your help, Thanks, M.

Manuel-debugger avatar Nov 12 '20 16:11 Manuel-debugger