My best guess is that there is a space in the name of one of your
directories (the one ending with "pre"). SPM99 was developed under
UNIX, in which there are rarely any spaces in file/directory names.
If you download the patches, then I think the problem may be solved.
Best regards,
-John
> Then my question: when I try to realign 2 series of SPECT-images (pre
> and postoperative images), I get the error below. My intended goal is to
> exclude negative results due to transformations, so for each patient,
> only two iamges are available, and those two I want to realign.
>
> My parameters:
> - Analyze-data (converted from Dicom with XMedCon), not further
> processed
> - no of subjects: 6 (I also tried with just one patient, but it remains
> the same)
> - Coregister & Reslice
> - I tried both Sinc and Trilinear interpolation
> - I tried both Create All Images (1..n) and All Images + Mean Image
>
> Then it starts working, I guess coregistering is going well, but
> afterwards I get the error about the missing mat-file (which indeed is
> not present). I looked in the archives, but did not find a solution
> there. I don't understand what is going wrong, does anyone of you know a
> solution (or different method fot this)?
>
> Kind regards,
>
> Pieter
>
> (Maastricht University Hospital, The Netherlands)
>
> ----------------
>
> SPM99: spm_realign_ui (v2.21) 10:47:57 - 01/01/2003
> ========================================================================
>
> Realigning Subject 1: ??? Error using ==> save
> Variable 'pre\Analyze\GORI.mat' not found.
>
> Error in ==> C:\MATLABR11\spm99\spm_get_space.m
> On line 82 ==> eval(['save ' matname ' M
> -v4']);
>
> Error in ==> C:\MATLABR11\spm99\spm_realign.m
> On line 134 ==> spm_get_space(P{s}(i).fname,
> P{s}(i).mat);
>
> Error in ==> C:\MATLABR11\spm99\spm_realign_ui.m
> On line 366 ==> spm_realign(P{i},flagsC);
>
> ??? Error using ==> waitfor
> Error while evaluating uicontrol Callback.
>
> ??? Error using ==> spm_input_ui
> Input object cleared whilst waiting for response: Bailing out!
>
> Error in ==> C:\MATLABR11\spm99\spm_input.m
> On line 77 ==> [varargout{:}] =
> spm_input_ui(varargin{1:ib-1});
>
> Error in ==> C:\MATLABR11\spm99\spm_realign_ui.m (edit_defaults)
> On line 438 ==> sptl_WghtRg = spm_input(...
>
> Error in ==> C:\MATLABR11\spm99\spm_realign_ui.m
> On line 378 ==> edit_defaults;
>
> Error in ==> C:\MATLABR11\spm99\spm_defaults_edit.m
> On line 109 ==> eval(deblank(callbacks(a1,:)));
>
> ??? Error while evaluating uicontrol Callback.
--
Dr John Ashburner.
Functional Imaging Lab., 12 Queen Square, London WC1N 3BG, UK.
tel: +44 (0)20 78337491 or +44 (0)20 78373611 x4381
fax: +44 (0)20 78131420 http://www.fil.ion.ucl.ac.uk/~john
|