Which version of Matlab are you using, and what software version do you have
on your scanner?
Best regards,
-John
On Tuesday 27 June 2006 20:31, K. Chiou wrote:
> Hi all-
> I've been trying to Dicom several files and each has given me this error
> message.I might expect bad data if it occurred to one set of files, but I'm
> getting that message every time even when I try a different file. Any
> suggestions?
>
> ??? Attempted to access (2); index out of bounds because numel()=0.
>
> Error in ==> spm_dicom_headers>decode_csa2 at 421
> len = t(i).item(j).xx(2);
>
> Error in ==> spm_dicom_headers>decode_csa at 339
> t = decode_csa2(fp,lim);
>
> Error in ==> spm_dicom_headers>read_dicom at 86
> dat = decode_csa(fp,tag.length);
>
> Error in ==> spm_dicom_headers>readdicomfile at 59
> ret = read_dicom(fp, 'le',dict);
>
> Error in ==> spm_dicom_headers at 24
> tmp = readdicomfile(P(i,:),dict);
>
> Error in ==> spm_DICOM at 7
> hdr = spm_dicom_headers(P);
>
> Error in ==> spm at 1183
> evalin('base',varargin{2}(i).prog)
>
> ??? Error using ==>
> spm('TBlaunch',get(gcbo,'UserData'),get(gcbo,'Value')-1),
> set(gcbo,'Value',1) Attempted to access (2); index out of bounds because
> numel()=0.
>
> ??? Error while evaluating uicontrol Callback
>
>
>
> Thanks!
> Kathy
|