Dear Michael,
Maybe the probability templates (used for the segmentation with the coregistartion) might not be where SPM expects them to be.
Do
>>global SWD
>>SWD
This shows the dir where the /templates etc subdirs should be located. SPM determines this dir by looking where spm.m is on your system.
-Christian
"Michael B. Miller" wrote:
> HI,
> I'm hoping you can help me. I'm running spm99 on a Dell Inspiron 7500 laptop with Windows NT and Matlab. The data I'm analyzing was collected here at Dartmouth. I have analyzed the same data on a Linux machine here at the neuroimaging lab, and it worked fine. But when I run the preprocessing steps on the same data on the Windows machine, I run into an error at the same point during coregisteration. The realignment worked fine, and I'm able to display the images ok. I've tried this on different sets of data, and I run into the same error. Again it seems to work fine on the Linux machines, so I don't think the data is corrupted. Is there something specific with Windows that could be causing this error? I've copied the error message below. Thanks for your help.
>
> Mike Miller
>
> ps. I've asked several experienced spm users around here for their help, including Souheil Inati, Scott Grafton, and Jeff Greothe, and they all could not figure out what was going on and suggested I contact you directly.
>
> ___ ____ __ __
> / __)( _ \( \/ )
> \__ \ )___/ ) ( Statistical Parametric Mapping
> (___/(__) (_/\/\_) SPM99 - http://www.fil.ion.ucl.ac.uk/spm
>
> Initialising SPM.........done
>
> SPM present working directory:
> e:\programfiles\work
>
> SPM99: spm_coreg_ui (v2.1) 10:50:46 - 12/07/2000
> ========================================================================
>
> SPM99: spm_coreg_ui (v2.1) 10:51:04 - 12/07/2000
> ========================================================================
>
> Coregistering Subject 1: ??? Cant open image file.
>
> Error in ==> E:\MATLABR11\spm99\spm_slice_vol.dll
> Error in ==> E:\MATLABR11\spm99\spm_segment.m
> On line 418 ==> tmp = spm_slice_vol(VB(j),M, d(1:2),1)/nc(j);
>
> Error in ==> E:\MATLABR11\spm99\spm_coregister.m (coreg_steps23)
> On line 237 ==> spm_segment(PGF,MTA*MGR,'ft');
>
> Error in ==> E:\MATLABR11\spm99\spm_coregister.m
> On line 96 ==> MM = coreg_steps23(PGF, PFF, PGG, PFG, MM,MGR,MFR,MTA);
>
> Error in ==> E:\MATLABR11\spm99\spm_coreg_ui.m
> On line 214 ==> spm_coregister(PGF, PFF, PGG, PFG, others,flags);
>
> ??? Error using ==> waitfor
> Error while evaluating uicontrol Callback.
>
> ??? Error using ==> spm_input_ui
> Input object cleared whilst waiting for response: Bailing out!
>
> Error in ==> E:\MATLABR11\spm99\spm_input.m
> On line 77 ==> [varargout{:}] = spm_input_ui(varargin{1:ib-1});
>
> Error in ==> E:\MATLABR11\spm99\spm_coreg_ui.m
> On line 111 ==> respt = spm_input('Modality of first target image?',3,'m',...
>
> ??? Error while evaluating uicontrol Callback.
>
> SPM99: spm_image (v2.15) 10:53:35 - 12/07/2000
> ========================================================================
--
Dr. Christian Buechel
Neurologische Universitaetsklinik, Haus B
Universitaets-Krankenhaus Eppendorf
Martinistr. 52
D-20246 Hamburg
Germany
Tel.: +49-40-42803-4726
Fax.: +49-40-42803-5086
email:[log in to unmask]
www.uke.uni-hamburg.de/kliniken/neurologie/pages/mitarbeiter/buechel_c.htm
www.uke.uni-hamburg.de/kliniken/neurologie/pages/forschung/cnl_index.htm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|