Hello,
I,m recieving the following error while calculating Degree Centrality on two sample data in Matlab 2019a:
Computing Degree Centrality...Error using file_array/subsref>subfun (line 110)
Requested 197x233x189x250 (16.2GB) array exceeds maximum array size preference. Creation of arrays greater than this limit may take a long time and
cause MATLAB to become unresponsive. See array size limit or preference panel for more information.
Error in file_array/subsref (line 65)
t = subfun(sobj,args{:});
Error in file_array/numeric (line 13)
out = subsref(fa,struct('type','()','subs',{vo}));
Error in file_array/double (line 12)
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 84)
[Data, VoxelSize, Header] = y_ReadRPI(FileList{1});
Error in y_DegreeCentrality (line 50)
[AllVolume,VoxelSize,theImgFileList, Header] =y_ReadAll(AllVolume);
Error in DPARSFA_run (line 4047)
parfor i=1:AutoDataProcessParameter.SubjectNum
Error in DPARSFA>pushbuttonRun_Callback (line 1845)
[Error]=DPARSFA_run(handles.Cfg);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in DPARSFA (line 30)
gui_mainfcn(gui_State, varargin{:});
Error while evaluating UIControl Callback.
I can not find what the problem is, I would thank you I you can help me
Forums
197x233x189x250
197x233x189x250
What's the voxel size of your data after normalization?
voxel size
the voxel size of my images are 1*1*1 after normalization
That's too much for your
That's too much for your computer. You don't need to relice to 1*1*1 as your data acqusition has much larger voxel size.