关于Permutation test 的报错

各位老师,您好:

     我在进行Permutation test时MATLAB报错,报错如下:

     Reading images from "F:\FC data\Fun_preprocessdata\adult\control\ROI7\zROI7FCMap_24.nii" etc.

Undefined function 'file2mat' for input arguments of type 'struct'.

 

Error in file_array/subsref>subfun (line 80)

t = file2mat(sobj,varargin{:});

 

Error in file_array/subsref (line 60)

    t = subfun(sobj,args{:});

 

Error in file_array/numeric (line 13)

out = subsref(fa,struct('type','()','subs',{vo}));

 

Error in file_array/double (line 11)

out = double(numeric(fa));

 

Error in y_Read (line 71)

    Data = double(Nii.dat);

 

Error in y_ReadRPI (line 41)

[Data,Header] = y_Read(FileName,VolumeIndex);

 

Error in y_ReadAll (line 70)

    [Data, VoxelSize, Header] = y_ReadRPI(FileList{1});

 

Error in y_TTest2_Image (line 40)

    [AllVolume,VoxelSize,theImgFileList, Header] = y_ReadAll(DependentDirs{i});

 

Error in DPABI_STAT_TOOL>ComputeButton_Callback (line 519)

        y_TTest2_Image(S, OutputName, MaskFile, ImageCell, TextCell, PALMSettings);

 

Error in gui_mainfcn (line 96)

        feval(varargin{:});

 

Error in DPABI_STAT_TOOL (line 42)

    gui_mainfcn(gui_State, varargin{:});

 

Error in @(hObject,eventdata)DPABI_STAT_TOOL('ComputeButton_Callback',hObject,eventdata,guidata(hObject))

 

 

Error while evaluating uicontrol Callback

不知道是哪里错了,希望老师能指点一下,谢谢老师!

Re: 关于Permutation test 的报错

很可能是位于F盘的这个文件夹“FC data”命名不合法,删去空格即可。

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.