help > GUI and script not working
Showing 1-1 of 1 posts
Display:
Results per page:
Nov 12, 2020  05:11 PM | Manuel Anaya
GUI and script not working
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
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.