I have been encountering this problem since few months ago. Currently, I am running SPM12 using MATLAB 2015a (ocassionally, MATLAB 2016b). When I tried to open my spm.mat file in the WFU PickAtlas Results Viewer, a message popped out saying error in opening. Both matlab versions also show the same message:
Using SPM8_lite, adding (spm_lite) to path.
Warning: Name is nonexistent or not a directory: spm_lite
> In path (line 109)
In addpath (line 86)
In wfu_results_defaults (line 31)
In wfu_results_viewer>wfu_results_OpeningFcn (line 103)
In gui_mainfcn (line 220)
In wfu_results_viewer (line 70)
In wfu_pickatlas>paresults_Callback (line 3007)
In wfu_pickatlas (line 110)
In @(hObject,eventdata)wfu_pickatlas('paresults_Callback',hObject,eventdata,guidata(hObject))
SPM computation : ...done
SPM12: spm_reslice (v7141) 14:58:22 - 24/04/2018
========================================================================
Error: Permission denied
There was a problem writing to the header of
"C:\Program Files\spm12\toolbox\wfu_pickatlas\MNI_atlas_templates\rMNI_T1.nii"
24-Apr-2018 14:58:23 | ERROR | wfu_results_viewer.m | MException thrown. Stack follows:
24-Apr-2018 14:58:23 | ERROR | create | Line 0026: Unable to write header for "C:\Program Files\spm12\toolbox\wfu_pickatlas\MNI_atlas_templates\rMNI_T1.nii".
24-Apr-2018 14:58:23 | ERROR | create_vol | Line 0210
24-Apr-2018 14:58:23 | ERROR | spm_create_vol | Line 0017
24-Apr-2018 14:58:23 | ERROR | spm_write_vol | Line 0083
24-Apr-2018 14:58:23 | ERROR | reslice_images | Line 0248
24-Apr-2018 14:58:23 | ERROR | spm_reslice | Line 0136
24-Apr-2018 14:58:23 | ERROR | wfu_results_compute | Line 0251
24-Apr-2018 14:58:23 | ERROR | File_Open_Callback | Line 0468
24-Apr-2018 14:58:23 | ERROR | gui_mainfcn | Line 0095
24-Apr-2018 14:58:23 | ERROR | wfu_results_viewer | Line 0070
24-Apr-2018 14:58:23 | ERROR | @(hObject,eventdata)wfu_results_viewer('File_Open_Callback',hObject,eventdata,guidata(hObject)) | Line 0000
>>
I even tried in another laptop, nothing change. It never happen when I first started to analyse my data until a few months ago.
Is there any guidance for me to resolve this error?
|