the problem when i use the Functional connectivity

Submitted by wanghui on
when i use the Functional connectivity to analysis a patient's data,i meet a problem ,I think i  finish the programme as suggested in the video,but after i typing the DONE ALL,there is an error jumping out:

Expection occured:
Error using==>rest_Writeniftilmage at 92 Meet error while writing the data,

i do not know what that mean,hope can be told as soon as possible.thanks.

YAN Chao-Gan

Thu, 08/27/2009 - 15:22

Hi!
Sorry for the later reply since I have gone out for a vacation.
Plese refer to http://restfmri.net/forum/node/131 : Fix the error of reading and writing NIfTI images in REST on multiple OS (especially 64 bit linux)
Hope it works this time.
Best wishes!

wanghui

Thu, 09/03/2009 - 05:15

In reply to by YAN Chao-Gan

   i have run the mentlab orders u given,then i run the FC,still have the same problem.by the way i have ren the Reho and ALFF successfully,if it's a problem about writing date,why just happened in FC.
   thanks for your last message.

Hi!
Please give more details about the error in FC.
It's weird the error did not happened in ReHo and ALFF.
Best wishes!

wanghui

Mon, 09/07/2009 - 06:13

In reply to by YAN Chao-Gan

it's the error on matlab:
 
ROI time course retrieving through "ROI Center(mm)=(30, 18, 3); Radius=5.00 mm.".

  Seed ROI Definition: ROI Center(mm)=(30, 18, 3); Radius=5.00 mm.
   Brain Size: (61  73  61),  Voxel Size: (3  3  3),  Origin: (31  43  25)
   Contained Voxel count: 19


Exception occured. ()
 Error using ==> rest_WriteNiftiImage at 92
Meet error while writing the data
 92#line,  rest_WriteNiftiImage, in "C:\MATLAB\REST2007V1.3_090525\rest_WriteNiftiImage.m"
 79#line,  rest_writefile, in "C:\MATLAB\REST2007V1.3_090525\rest_writefile.m"
 112#line,  rest_SphereROI, in "C:\MATLAB\REST2007V1.3_090525\rest_SphereROI.m"
 126#line,  fc, in "C:\MATLAB\REST2007V1.3_090525\fc.m"
 1323#line,  btnComputeFC_Callback, in "C:\MATLAB\REST2007V1.3_090525\fc_gui.m"
 96#line,  gui_mainfcn, in "C:\MATLAB\R2009a\toolbox\matlab\guide\gui_mainfcn.m"
 35#line,  fc_gui, in "C:\MATLAB\REST2007V1.3_090525\fc_gui.m"
>>

by the way,before this error  there are always warnings while running the rest on matlab:
"C:\MATLAB\REST2007V1.3_090525\rest_spm5_files",
nic_spm_slice_vol.mexw32 now shadows nic_spm_slice_vol.dll.
 Please see the MATLAB 7.1 Release Notes.
> In nic_spm_read_vols at 39
  In rest_ReadNiftiImage at 86
  In rest_readfile at 61
  In rest_to4d at 42
  In fc at 30
  In fc_gui>btnComputeFC_Callback at 1323
  In gui_mainfcn at 96
  In fc_gui at 35

 

Hi!
What's your output directory name?
Please avoid use chinese characters or space in the output path and filename.
Best wishes!

wanghui

Tue, 09/08/2009 - 07:47

In reply to by YAN Chao-Gan

   i do not use chinese name,i change a version of matlab,then everything is ok now.before i used matlab 2009,now i use matlab 7.0.thanks for your help.
Forums