Hello again - When I run spm_dbm from the MATLAB prompt, SPM boots into what I would describe as a modified version of SPM99 with options that are specific only to that type of analysis (e.g. the first option in the pull-down menu is 'Extract Shape'). I had assumed (perhaps incorrectly) that all routines required would be called as necessary through the interface. Is this not the case? Thanks in advance... Keith -----Original Message----- From: John Ashburner [SMTP:[log in to unmask]] <mailto:[SMTP:[log in to unmask]]> Sent: Monday, March 26, 2001 4:36 AM To: [log in to unmask] <mailto:[log in to unmask]> Subject: Re: spm_dbm.m query | Hello SPM'ers (that seems to be the salutation of choice lately) - | I am attempting to run a DBM analysis on some of our data but i am | getting the following error after selecting the *.sn3d.mat files: | * - SPM99: spm vol ------------------------------------------------ | Error reading information on: | apriori/brainmask.img Did you call spm before running spm_dbm? There is a global variable (SWD) used by spm_dbm.m that is set by spm.m. If this is not set, then the following line: V = spm_vol(fullfile(SWD,'apriori','brainmask.img')); will have problems. Best regards, -John