Dear Cyrus, if you have installed all recent updates, you probably hit the same problem as described in: https://www.jiscmail.ac.uk/cgi-bin/wa.exe?A2=ind0810&L=SPM&P=R28169 https://www.jiscmail.ac.uk/cgi-bin/wa.exe?A2=ind0811&L=SPM&P=R14349 Hope this helps, Volkmar Am Mittwoch, den 17.12.2008, 18:05 -0500 schrieb Cyrus Raji: > Hi, All > > I tried installing spm8b on my Intel MAC and tried to run it from > MATLAB 7.4. I get the welcome GUI but when I click on "PET and VBM" > the GUI crashes and I get the following MATLAB error: > > Initialising SPM...??? Undefined function or variable 'cfg_repeat'. > > Error in ==> matlabbatch/private/cfg_mlbatch_root at 16 > c0 = cfg_repeat; > > Error in ==> cfg_util>local_initcfg at 1153 > c0 = cfg_mlbatch_root; > > Error in ==> cfg_util at 504 > [c0 jobs cjob] = local_initcfg; > > Error in ==> spm_jobman at 144 > cfg_util('initcfg'); % This must be the first call to > cfg_util > > Error in ==> spm at 340 > spm_jobman('initcfg'); > > ??? Error using ==> delete(gcbf);spm('Clean');spm('PET') > Undefined function or variable 'cfg_repeat'. > > ??? Error while evaluating uicontrol Callback > > I added the updates to the spm8b folder but I still get the same > error. Any insights into how I can fix this? I would really like to > use spm8! > > Thank you, > > Cyrus -- 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/