"rest_Fix_Read_Write_Error" Error in data preprocessing


It happened in the process: Moving Normalized Files

The Error message is below:

Error using rest_Fix_Read_Write_Error (line 64)
Meet error while fixing read write error. Please restart MATLAB, and run
"rest_Fix_Read_Write_Error" before starting anything.

Error in rest_WriteNiftiImage (line 92)
   rest_Fix_Read_Write_Error; %YAN Chao-Gan, 100426.

Error in y_Reslice (line 77)

Error in DPARSF_run (line 871)
            y_Reslice(Filename,DPARSF_Normalized_TempImage,[1 1 1],0);

Error in DPARSF>pushbuttonRun_Callback (line 996)

Error in gui_mainfcn (line 96)

Error in DPARSF (line 48)
    gui_mainfcn(gui_State, varargin{:});
Error while evaluating uicontrol Callback



I know this question had been asked for many times, so i do restart my matlab and input “rest_Fix_Read_Write_Error” with nothing before it ,but the problem is still exist.

Looking for help.

The version of my softwares:

  • matlab: MATLAB2016a (I have tried MATLAB 2012a but it still not working)
  • rest: REST_V1.8_130615
  • spm:spm8
  • DEPARSF: DEPARSF_V2.2_130615

The MATLAB search path:folder of SPM8   /  subfolder of DEPARSF and spm

The data i use is the "ProcessingDemoData"

The screenshot is on the below