Dear Kelly, This is the same error message than Juergen a few days ago: http://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind0810&L=spm&P=17060 The explanation in his case was a problem in the installation of the updates with MacOS using drag'n'drop. The solution was to use the command line, as described here: http://www.fil.ion.ucl.ac.uk/spm/software/spm8b/#Updates Could it be also the explanation of your own problem? Best regards, Guillaume. Kelly Westlake wrote: > I seem to be having difficulty starting SPM8b from Matlab 7.4.0 (R2007a) > and receive the following error message each time I try: > > Initialising SPM...??? Undefined function or method 'gui_mainfcn' for > input arguments of type 'struct'. > Error in ==> cfg_ui at 51 > [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:}); > Error in ==> spm_jobman at 145 > f = cfg_ui('Visible','off'); % Create invisible batch ui > Error in ==> spm at 340 > spm_jobman('initcfg'); > Error in ==> spm at 297 > if isfield(defaults,'modality'), spm(defaults.modality); return; end > > Is anyone else receiving this error? If so, could you please let me know > how it can be fixed. > > Thanks, > Kelly -- Guillaume Flandin, PhD Wellcome Trust Centre for Neuroimaging University College London 12 Queen Square London WC1N 3BG