Hi
I am trying to import DICOM files but running into an error. I am running
spm5 with all patches/updates, Matlab 2006b, on a workstation with red hat
enterprise linux 4. The error listed below does not occur when the same
dataset is imported on either a windows machine (matlab 2006, same spm5) or
a linux machine running RH linux 8 and Matlab R14+.
The error appears to be related to the exe file- mat2file- but it is unclear
how to fix it. The error is one that mat2file is producing and not Matlab
per se. Has anyone seen a similar error?
thanks
darren
Running "DICOM Import"
Changing directory to: /usr/local/freesurfer/subjects/etT1/
??? Subscripted assignment dimension mismatch (2).
Error in ==> file_array.subsasgn>subfun at 125
mat2file(sobj,dat,va{:});
Error in ==> file_array.subsasgn at 63
subfun(sobj,double(dat),args{:});
Error in ==> nifti.subsasgn>fun at 74
val = subsasgn(obj.dat,subs(2:end),val);
Error in ==> nifti.subsasgn at 20
obji = fun(obji,subs,val);
Error in ==> spm_dicom_convert>write_volume at 589
N.dat(:,:,i) = plane;
Error in ==> spm_dicom_convert>convert_standard at 208
write_volume(hdr{i},root_dir,format);
Error in ==> spm_dicom_convert at 44
convert_standard(standard,root_dir,format);
Error in ==> spm_config_dicom>convert_dicom at 96
spm_dicom_convert(hdr,'all',job.root);
Error in ==> spm_jobman>run_struct1 at 1474
feval(prog,val);
Error in ==> spm_jobman>run_struct1 at 1482
run_struct1(c.val{i});
Error in ==> spm_jobman>run_struct1 at 1482
run_struct1(c.val{i});
Error in ==> spm_jobman>run_job at 417
run_struct1(c);
Error in ==> spm_jobman>serial at 2039
run_job(jobs);
Error in ==> spm_jobman at 70
serial(varargin{2:nargin});
??? Error using ==> spm_jobman('serial','','jobs.util.dicom');
Subscripted assignment dimension mismatch (2).
??? Error while evaluating uicontrol Callback
|