The package you used for unpacking the .tar.gz file has probably corrupted the
spm_dicom_dict.mat with nasty Windows control characters. There should be an
option somewhere to disable this feature.
Best regards,
-John
> I've downloaded SPM5b (including updates). While I'm trying to convert
> dicom files to nifti format using DICOM Import utility following errors
> occur:
>
>
>
> Running "DICOM Import"
>
> ??? Error using ==> load
>
> Unable to read MAT file c:\spm5b\spm_dicom_dict.mat
>
>
>
> File may be corrupt.
>
>
>
> Error in ==> c:\spm5b\spm_dicom_headers.m (readdict)
>
> On line 329 ==> dict = load('spm_dicom_dict.mat');
>
>
>
> Error in ==> c:\spm5b\spm_dicom_headers.m
>
> On line 23 ==> dict = readdict;
>
>
>
> Error in ==> c:\spm5b\spm_config_dicom.m (convert_dicom)
>
> On line 37 ==> hdr = spm_dicom_headers(strvcat(job.data));
>
>
>
> Error in ==> c:\spm5b\spm_jobman.m (run_struct1)
>
> On line 1372 ==> feval(prog,val);
>
>
>
> Error in ==> c:\spm5b\spm_jobman.m (run_struct1)
>
> On line 1380 ==> run_struct1(c.val{i});
>
>
>
> Error in ==> c:\spm5b\spm_jobman.m (run_struct1)
>
> On line 1380 ==> run_struct1(c.val{i});
>
>
>
> Error in ==> c:\spm5b\spm_jobman.m (run_job)
>
> On line 381 ==> run_struct1(c);
>
>
>
> Error in ==> c:\spm5b\spm_jobman.m (serial)
>
> On line 1776 ==> run_job(jobs);
>
>
>
> Error in ==> c:\spm5b\spm_jobman.m
>
> On line 66 ==> serial(varargin{2:nargin});
>
>
>
> ??? Error while evaluating uicontrol Callback.
>
>
>
> Earlier we have used SPM2 to convert these dicom files to analyse format.
> Can any one tell me where it's going wrong this time?
>
>
>
> Regards,
>
> Pritha
|