Dear Malin, you don't seem to have installed the latest set of updates: ftp://ftp.fil.ion.ucl.ac.uk/spm/spm5_updates/ There was a bug in older versions of SPM5 http://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind0807&L=spm&P=3641 so that some header files (.hdr) were not written on disk, and this could explain the problem you're facing. Best regards, Guillaume. <Malin> <Gingnell> wrote: > Dear all! > > I'm having problem with spm5 when it comes to reading of beta-files. I can > make and display contrast images but whenever I try to display a beta-file > (or use them for any other purpose) the following type of error message occurs: > > --- > Running "Display Image" > ??? Error using ==> spm_vol>subfunc > C:\Documents and Settings\Malin > G\Skrivbord\fMRIPMDD\PMDD\fMRI-analyser\jobs\redgreen\beta_0002.img: Unknown > file format. > > Error in ==> spm_vol>subfunc1 at 83 > v = subfunc(P(i,:)); > > Error in ==> spm_vol>subfunc2 at 71 > V = subfunc1(P); > > Error in ==> spm_vol at 57 > V = subfunc2(P); > > Error in ==> spm_image at 305 > if ischar(P), P = spm_vol(P); end; > > Error in ==> spm_config_display>dispim at 97 > spm_image('init',job.data{1}); > > Error in ==> spm_jobman>run_struct1 at 1474 > feval(prog,val); > > Error in ==> spm_jobman>run_struct1 at 1482 > run_struct1(c.val{i}); > > Error in ==> spm_jobman>run_struct1 at 1482 > run_struct1(c.val{i}); > > Error in ==> spm_jobman>run_job at 417 > run_struct1(c); > > Error in ==> spm_jobman>serial at 2039 > run_job(jobs); > > Error in ==> spm_jobman at 70 > serial(varargin{2:nargin}); > > ??? Error using ==> spm_jobman('serial','','jobs.util.disp'); > Error using ==> spm_vol>subfunc > C:\Documents and Settings\Malin > G\Skrivbord\fMRIPMDD\PMDD\fMRI-analyser\jobs\redgreen\beta_0002.img: Unknown > file format. > > ??? Error while evaluating uicontrol Callback > > --- > > I'm using SPM5 in matlab 7.3.0 (r2006b) and as far as I've noticed, the > problem only occurs with beta-files. Other fileformats work fine. Any > suggestions what to do would be really helpfull... > > > Best regards > Malin Gingnell > M.D. Ph.D-stud > Uppsala University -- Guillaume Flandin, PhD Wellcome Trust Centre for Neuroimaging University College London 12 Queen Square London WC1N 3BG