Thank you so much Volkmar, this was indeed the problem, and I can display
all images now. Although I had removed all references to SPM5 from the
Matlab path, before the error occurred, I had not closed and reopened the
Matlab session itself, so I guess there was still an 'SPM5 trace' left ...
best, Dirk
%%-----Original Message-----
%%From: Volkmar Glauche [mailto:[log in to unmask]]
%%Sent: Wednesday, November 12, 2008 3:51 AM
%%To: Dirk den Ouden
%%Cc: [log in to unmask]
%%Subject: Re: [SPM] Display error
%%
%%Hi Dirk,
%%
%%as already pointed out in private communication to Dorothee,
%%my suspicion is that you may have been mixing SPM5 and SPM8
%%in one MATLAB session or both SPM5 and SPM8 are on your
%%MATLAB path at the same time.
%%The easiest way to avoid this is to make sure that at any
%%time there is only one SPM version used in a MATLAB session.
%%
%%Volkmar
%%
%%
%%Am Dienstag, den 11.11.2008, 17:37 -0600 schrieb Dirk den Ouden:
%%> Dear all,
%%>
%%> I have just installed SPM8b, with the latest updates
%%(r2452), running
%%> on Matlab version 7.2.0.232 (R2006a). I can open SPM.mat
%%files created
%%> in SPM5, run the contrasts, and render the results on SPM's "rend"
%%> template, but I cannot display the results on sections or slices of
%%> the subject-specific T1, nor on SPMs template T1, under
%%canonical (see
%%> error 1, below). In fact, it seems I cannot display any
%%anatomical or functional images (see error 2).
%%> Does anyone have suggestions? Thanks!
%%>
%%> Dirk
%%>
%%> ++++++++++++++++++++++++++++++++++++++++++++++++
%%> ERROR 1
%%>
%%>
%%> Can not use image "c:\spm8b\canonical\single_subj_T1.nii,1"
%%> Warning: Nothing to register with
%%> > In spm_orthviews>register at 589
%%> In spm_orthviews at 330
%%> In spm_sections at 33
%%> In spm at 876
%%> ??? Reference to non-existent field 'registry'.
%%>
%%> Error in ==> spm_orthviews>register at 591 st.centre =
%%> spm_XYZreg('GetCoords',st.registry.hReg);
%%>
%%> Error in ==> spm_orthviews at 330
%%> register(varargin{1});
%%>
%%> Error in ==> spm_sections at 33
%%> spm_orthviews('register',hReg);
%%>
%%> Error in ==> spm at 876
%%> evalin('base',CBs{v-1})
%%>
%%> ??? Error using ==> spm('PopUpCB',gcbo) Reference to non-existent
%%> field 'registry'.
%%>
%%> ??? Error while evaluating uicontrol Callback
%%>
%%> ++++++++++++++++++++++++++++++++++++++
%%>
%%> ERROR NUMBER 2
%%>
%%>
%%----------------------------------------------------------------------
%%> -
%%> Running job #5
%%>
%%----------------------------------------------------------------------
%%> -
%%> Running 'Check Registration'
%%> Failed 'Check Registration'
%%> Error using ==> class
%%> Number of fields for class file_array cannot be changed
%%without clear
%%> classes.
%%> In file "c:\spm8b\@file_array\file_array.m" (v1340),
%%function "file_array"
%%> at line 41.
%%> In file "c:\spm8b\@nifti\nifti.m" (v1143), function "nifti"
%%at line 70.
%%> In file "c:\spm8b\spm_vol_nifti.m" (v1143), function
%%"spm_vol_nifti"
%%> at line 16.
%%> In file "c:\spm8b\spm_vol.m" (v2237), function "subfunc" at
%%line 138.
%%> In file "c:\spm8b\spm_vol.m" (v2237), function "subfunc1"
%%at line 84.
%%> In file "c:\spm8b\spm_vol.m" (v2237), function "subfunc2"
%%at line 70.
%%> In file "c:\spm8b\spm_vol.m" (v2237), function "spm_vol" at line 54.
%%> In file "c:\spm8b\spm_check_registration.m" (v1185), function
%%> "spm_check_registration" at line 32.
%%>
%%> The following modules did not run:
%%> Check Registration
%%>
%%> ??? Error using ==> cfg_message>issuemsg Job execution failed. The
%%> full log of this run can be found in MATLAB command window,
%%starting
%%> with the lines (look for the line showing the exact #job as
%%displayed
%%> in this error message)
%%> ------------------
%%> Running job #5
%%> ------------------
%%>
%%>
%%> Error in ==> cfg_message at 203
%%> issuemsg(cmsgcfg(sel), msgfmt, extras);
%%>
%%> Error in ==> cfg_util>local_runcj at 1361
%%> cfg_message(est);
%%>
%%> Error in ==> cfg_util at 686
%%> jobs(cjob) = local_runcj(jobs(cjob), cjob, pflag);
%%>
%%> Error in ==> spm_jobman at 189
%%> cfg_util('run', cjob);
%%>
%%> ??? Error using ==> spm_jobman('serial','','spm.util.checkreg');
%%> Error using ==> cfg_message>issuemsg
%%> Job execution failed. The full log of this run can be found
%%in MATLAB
%%> command window, starting with the lines (look for the line
%%showing the
%%> exact #job as displayed in this error message)
%%> ------------------
%%> Running job #5
%%> ------------------
%%>
%%>
%%> ??? Error while evaluating uicontrol Callback
%%>
%%> ++++++++++++++++++++++++++++++++++
%%>
%%> ************************************
%%>
%%> Dirk-Bart den Ouden, Ph.D.
%%>
%%>
%%>
%%> Aphasia & Neurolinguistics Research Laboratory
%%>
%%> Dept. of Communication Sciences & Disorders
%%>
%%> Northwestern University
%%>
%%> 2240 Campus Drive, Evanston IL 60208-3066
%%>
%%> Phone: (office) 1-847-467-2515; (lab) 1-847-467-7591
%%>
%%> ************************************
%%>
%%--
%%Volkmar Glauche
%%-
%%Department of Neurology [log in to unmask]
%%Universitaetsklinikum Freiburg Phone 49(0)761-270-5331
%%Breisacher Str. 64 Fax 49(0)761-270-5416
%%79106 Freiburg http://fbi.uniklinik-freiburg.de/
%%
%%
%%
|